Nintex Forms - is there a Form load function as in InfoPath?


Badge +5

Just curious if there is a 'form load' function as there is in InfoPath?

Thanks

Steve


4 replies

Badge +11

Hi Steve Stirn ,

There is no on load function similar to InfoPath form. What are you trying to achieve? In case you want to set fields on form load, you need to utilize JavaScript for that.

Badge +5

Thank you for the reply, yes i would like to set a form field showing the username based on whether another field is blank or not (formname). so if the form has not been submitted set a field to the current user username. If the form has been submitted already (formname is not blank) then set a field called currentuser to username.

Or if the form is opened and a field has a status of complete switch to a print view.

Do you know of any Javascript examples?

Thanks

Steve

Badge +11

See this for reference: this is just an example, you might have to add/modify according to your requirements.

Nintex Forms: Automatically populating the new people picker control - Wow, So SharePoint, Much information

Badge +5

Thank you very much.

Steve

Reply