msalamon
Nintex Newbie

Form Variables populated using GetQueryStringParameter - Can they be required?

Jump to solution

I have a form variable that will be populated from a query string parameter.  But I need to make sure that this value is populated and is not removed from the URL.  Is there any way to require this value, perhaps by showing an error when the form loads to indicate that a required value is missing and not allow the user to submit the form?

0 Kudos
Reply
3 Replies
Jake
Nintex Employee
Nintex Employee

Re: Form Variables populated using GetQueryStringParameter - Can they be required?

Jump to solution

Hi @msalamon 

 

You can create a rule to check if the query string is filled or not, if it is not then to hide the contents of the form if it is then show the contents of the form.

 

see this as an example.

 

https://ntx-amdemoemea.workflowcloud.com/forms/0f85afb9-bdb4-4229-b0b1-dec15a4b5e53

 

If you would like the workflow I used please use this export key.

 

PzzkH9MEfqeP5DStGKbeSenS3ECCbejavih7cvNL264zMmo9k

 

Thanks

Jake

 

View solution in original post

0 Kudos
Reply
msalamon
Nintex Newbie

Re: Form Variables populated using GetQueryStringParameter - Can they be required?

Jump to solution

I see.  Hide all of the fields if the parameter is empty and instead show an otherwise hidden label.

 

I also learned that you can export and import workflows!

0 Kudos
Reply
msalamon
Nintex Newbie

Re: Form Variables populated using GetQueryStringParameter - Can they be required?

Jump to solution

Is there any way to hide the Submit button?

0 Kudos
Reply