populate dropdown

somen ghosh asked on February 13, 2017 11:13

I have a form with two radio buttons and a dropdown.One radio for head office and another for Retails.if i select headoffice then position for headoffice will be populate and if i select retail then position for retail will be populate.

Please help me to do this.

Recent Answers


Roman Hutnyk answered on February 13, 2017 11:42

You should store position into a database and use SQL query to select options for drop down based on radio selection. Radio value should be used as a parameter in a query. Also you'll need to check "Has depending fields" for radio field and "Depends on another field" for drop down

1 votesVote for this answer Mark as a Correct answer

Juraj Ondrus answered on February 13, 2017 13:13

Hi,
Just to add to what Roman wrote, here is an article on how to work with the depending fields. I hope it will help.

1 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.