Hello all,
I have done an application which consists in the next information:
- A drop down list with several options.
- A text field which value is retrieved depending on the value of the drop down list.
- Apart from those fields there are a lot of text fields which have a specified format depending on the previous text field.
Now, I placed a message box and I am trying to do the next functionality:
- If I select a determined option in the drop down list, I get a message box which alerts that the rest of fields in the form are going to be reset.
xfa.host.messageBox("If you change the option...","Change",1,1);
Firstly, if I accept the message box, my purpose in successful....
If I cancel the message box I would like to see the option before change.
Is it possible to get the previous value on a drop down list if I cancel the message box (now I see the new option).
Thanks in advance.
Best regards,
Roberto
TextField1.rawValue = xfa.event.prevText;