javascript - Build a Form with 2 dropdown options that load a specific PDF -


I think there may be something that has already been answered and I apologize if it is, So I did not get it.

What I need to do is build a simple form, which has two options, they are dropdown options. I understand this part in the dropdown a and dropdown bub Submit button HTML, although it can be easy in PHP or Javascript.

Then I need to take two options and prepare a "if / then" statement that loads a specific PDF which two options are selected.

Example. If a dropdown selects option 1 from dropdown b from A and option 2, then it loads 12.pdf if someone selects option from dropdown b in A dropdown A and option 3 then it load 53.pdf if a person Selects Option 2 from the dropdown A and option 1 by dropdown B then it loads 21.pdf

and so on ...

Thanks for any help.

Additional Here is my current HTML form script

Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -