to update a drop down list in browser form

R

RJ

I have a form drop down list (no data connection) that contains only 6
entries. They also need to be able to manually type in an entry – how can
we handle this piece and update the drop down? this will be in the browser
enable template.
 
E

Ed Thurber

I would recommend adding a boolean attribute, to you data element, called
'other' (just a place holder really). then add a checkbox to the form
called "other" when the user checks this box, the dropdown hides and they
are presented with a text box. when unchecked, the text box hides and the
dropdown is unhidden.

just a thought.
 
R

RJ

But would it update the actual form drop down list when they use the text box
if it doesn't exist, however that is a good idea, I will use that. The combo
box is not available in browser form so I need to be able to update that list
in another way.
 
E

Ed Thurber

No it will not update the dropdown. but it will give you combobox-like
functionality.
both controls (text and dropdown) will be bound to the same element so
either method of entering the data will populate the element.
also, by storing the boolean, you are assured that when the form is opened
again, it will display the proper control based on the boolean value.
 
R

RJ

Thank you, it works, good enough for them :)

Ed Thurber said:
No it will not update the dropdown. but it will give you combobox-like
functionality.
both controls (text and dropdown) will be bound to the same element so
either method of entering the data will populate the element.
also, by storing the boolean, you are assured that when the form is opened
again, it will display the proper control based on the boolean value.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top