button field with two urls


i want use button field "link" 2 various links in combination option field "answer" (options: yes or no).

 

if option field "answer" on "yes", button "link" links url1, if user clicks on option “no”, button field links url2, if user did not select anything, button field "link" should not forward urls. can done javascript?

yes, 1 needs use "if" statement twice or switch statement. first need check see if there has been selection of 1 of check boxes if 1 of buttons has been selected, run code appropriate selection. using switch statement need test none selected, option 1, or option 2.



More discussions in JavaScript


adobe

Comments

Popular posts from this blog

Soustraire une selection

After Effects: could not find dvaeve_dialogs.txt

Illustrator cs6 "Invalid Serial Number"