Set textbox values based on checkbox choices

  • 23 December 2019
  • 1 reply


In the picture below, I would like to use javascript, or any other means to check boxes from the operating units checkbox, and have the checkbox names appear in the account number text boxes automatically.  How would this be done using javascript?  operatingunit is the name of the checkbox control.  accountnumber1, accountnumber2, accountnumber3, accountnumber4, accountnumber5, and accountnumber6 are the names of the text boxes to have the checkboxes automatically fill.  A minimum of 1 checkbox will be checked.  A maximum of 6 checkboxes can be checked.   Thank you.6036i31940CCCDF94C0A0.png

1 reply

Badge +17

@carlort before I prescribe a solution, can you share what you're trying to achieve here? Not necessarily with the form but overall for the user submitting data.


This may help design the form to optimize that experience.