These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

Button on Toolbar and Dropdown list items on Form

peterrogers
Registered: Jul 10 2009
Posts: 3
Answered

Hi.

I have a PDF form with several drop down lists, I have a button on my toolbar which when clicked performs some validation on the fields.

If I am on a dropdown list field and I change the value then immediately click my toolbar button the code behind does not see the updated value in the list. if I click on another field then click on the button the code sees the new value.

I tried doing a setfocus to another field in the code behind before doing the validation but this does not work (focus gets set to the other field but the value in the list is still the old one)

Any help would be VERY much appreciated as I am kind of lost now!

Pete

My Product Information:
Acrobat Standard 9.0, Windows
peterrogers
Registered: Jul 10 2009
Posts: 3
I managed to solve this with a bit of googling, there is a Checkbox on the options tab called Commit Selected value immediately.

which kind of does what it says on the tin