Hi,

I have a FileUpload field on a form (which is a required field) that I need
to validate on form submission.
I want to validate wether the File Path entered by the user points to a
valid file or not.
So For example, if user types in "TEMP.doc" then its invalid. But right now
the Form's on submit and button's on submit is not even called when user
types invalid file name and hits submit.

Question:
1. Do I need to provide custom javascript on the onclick of Submit button /
onblur of text field, which will check if the path entered is valid path or
not?
2. If yes, How would I modify the event with custom JS code ?
3. How will I get hold of the id of text field that was generated by wicket?

Thanks,
RG
-- 
View this message in context: 
http://www.nabble.com/Validating-FileUploadField-tp19082219p19082219.html
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to