Skip to main content
Participant
January 23, 2025
Answered

Beginner questions about a simple form...

  • January 23, 2025
  • 1 reply
  • 225 views

hi there.

first time user of the Pro DC version of AR and i really need a helping hand.

im about to make a form, where i define different textboxes, dropdowns aso.

i want to have it responsive as if a dropdown value is selected, another field is closed or open, depending on the choice of the previous made value. so f.e., the first dropbox value is ABC, it should not be possible to choose from the next dropbox. but if the value DEF, the second and following dropboxes are accessable.

if the form is completely filled, there should be an "action button" which generates a new file ( excel table f.e. ), and took the values which are made in the form and transport them to this specific excel table.

i hope you understand what i mean...everybody else i asked could not follow my abstract thinking, but hey...we all are no experts in this.
thanks for any reply in advance!

Correct answer Nesa Nurani

You can set dropdown to read only depending on choices made, so for example use this as validate script of first dropdown:
this.getField("Dropdown2").readonly = (event.value == "DEF") ? false : true;

Change "Dropdown2" to your actual field name of the next dropdown, if you select "DEF" in first dropdown second dropdown will be accessible otherwise it will be locked.

1 reply

Nesa Nurani
Community Expert
Nesa NuraniCommunity ExpertCorrect answer
Community Expert
January 23, 2025

You can set dropdown to read only depending on choices made, so for example use this as validate script of first dropdown:
this.getField("Dropdown2").readonly = (event.value == "DEF") ? false : true;

Change "Dropdown2" to your actual field name of the next dropdown, if you select "DEF" in first dropdown second dropdown will be accessible otherwise it will be locked.