You need to add a name element to you form method, that will enable you to easily reference it with javascript.
[php][/php]
Then you have many different wants you can do this…
- Call a javascript function
- Do it on the onclick event
- Use JQuery
To reference the action element with javascript you will use this…
[php]document.myform.action [/php]
To reference your input field you will use this…
[php]document.myform.FileNum[/php]
To add an onclick event you just do this.
[php][/php]
Anyway, I have no clue what I’m talking about and I didn’t test this. I’m sure someone will correct me. Or you can test it and correct it.