2

I have created an InfoPath form that is connected to a SharePoint list. Apparently you can't use the Developer option in InfoPath if it's a List Form (Stupid, but hey).

Form Contents (in Order):

  • 4 x Dropdowns
  • 1 x Multiline
  • 1 x Text
  • 1 x Submit Btn

The Dropdowns and Multiline all require validation.

When I click on Submit it does nothing!

When I click on it again, it Submits.

Sometimes it throws out an error saying that the Comments Field (Multiline) does not have text/failed validation.

I've worked out that the validation only happens once you click outside of the Field. So I'm assuming that when I click on Submit, it does not Validate in time and that the Submit Button runs it's processes before the Validation runs.

How can I rectify this? (I do not have the Developer Option Available as it is a SP List Form.

  • Are you filling this out in the browser or the thick client filler? If the former, are you submitting from the toolbar/ribbon or does your form have it's own submit button? – Rob D'Oria May 20 '14 at 18:50
  • Hi,Thx for your response. It's filled out in the browser and has it'es own Submit Button. – RaveWolf May 21 '14 at 6:20
  • Here is a Screenshot of the form (hosted on SharePoint Intranet) - onedrive.live.com/… – RaveWolf May 21 '14 at 6:35
3

Resolved...

All I did was set postback to "Never" in the Multi-line Text Box ("Comments") properties. So now it does the validation locally instead of checking the server as there is nothing on the server to validate.

The validation is only used to confirm that there is text in the Text Field. * Only do a postback if there is something to retrieve or populate!

Hope this helps others.

Regards, RaveWolf

1

@RaveWold nailed it.. in case someone doesn't know how to do that :

  1. Right-click on the rich text field and select Rich Text Box Properties.
  2. In the "Browser forms" tab (last one), select "Never" for "Postback Settings".
  3. Quick publish..good to go.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.