Solved

Form Variables populated using GetQueryStringParameter - Can they be required?

  • 25 February 2021
  • 3 replies
  • 63 views

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?

icon

Best answer by Jake 25 February 2021, 13:40

View original

3 replies

Userlevel 5
Badge +13

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


 

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!

Is there any way to hide the Submit button?

Reply