Infopath validating event

The option to disable validation on hidden, disabled or read-only controls, Views and tabs is now available.

The option is selected by default for all new controls, Views and tabs created that are hidden, disabled or read-only.

Controls, Views and tabs that were hidden, disabled or set to read-only in versions prior to K2 smartforms 1.0.2, will be deselected and the option will have to be checked manually should the validation not be required on these.

Clicking on configure next to the condition will open the validation screen.

Do not validate, hidden, disabled and read-only controls, Views or tabs - All controls belonging to these categories will be ignored when validation is performed, i.e. When using a Form with Views, the controls on those can also be selected to be disabled for validation.

Note: The Do not validate hidden, disabled or read-only controls, Views and tabs option will also be applied to controls and Views that are dynamically changed to disabled or read-only at runtime.

For example, if a control is enabled and is subsequently changed in runtime to be disabled, this option will be applied to that control if the validation is done after the control is changed to disabled.

In this scenario we will use a Form with Views and tabs, a certain View and tab will be hidden to demonstrate the option to not perform validation on controls, Views and tabs.

Is there a way to stop people filling in date fields manually?

since there is a calendar, there not only is no need for manual entry but it also avoids input error.. either to validate both the calendar date & manual entry (entered in dd/mm/yyyy) Or to prevent users from typing inside the date field (& use the calendar!

Please or register to post comments
If spammers comment on your content, only you can see and manage such comments Delete all
Jun 17, 2012. Exploring InfoPath Forms with Rules.; Author Jean Paul V. A; Updated ; Section SharePoint Server; Chapter Enterprise Systems; Updated. A rule in InfoPath is an Action which takes place on an Event. Validation rule validates a field value and displays an error message. 
20-Feb-2019 11:05
Reply
Oct 5, 2009. In this InfoPath video tutorial, you'll learn How to add a File Attachment control to a Repeating Table on an InfoPath form template, how to add a Validating event to a File Attachment control, how to write code that prevents the user from uploading files with file types that are not allowed. 
20-Feb-2019 11:08
Reply
Jul 21, 2013. Send to KindleNote It appears that SharePoint magazine has bitten the dust and with it went my old series on the “tribute to the humble leave form”. I am still getting requests to a finish it and b republish it. So I am reposting it to here on cleverworkarounds. If Continue reading →. 
20-Feb-2019 11:12
Reply
The problem with it though that when I change the value of a sibling item with the same value the validation message does not clear off from the added dropdown even though it is not a duplicate anymore. It looks like validation event does not fire. Is this happening because the change is made on a different. 
20-Feb-2019 11:16
Reply
Jan 16, 2011. In SharePoint infopath forms I need to implement one thing which was a bit tricky as it is not the default supported by infopath forms. The requirement is like this The date fields on form should not allow date plus/minus 5 years from current server date. For this, so many people recommended to implement. 
20-Feb-2019 11:21
Reply

Infopath validating event introduction

Infopath validating event

Recent posts

21-Feb-2019 01:04
21-Feb-2019 14:52
21-Feb-2019 18:08