Validating WOUpload form element before submitting
Validating WOUpload form element before submitting
- Subject: Validating WOUpload form element before submitting
- From: Randall Perry <email@hidden>
- Date: Mon, 19 Apr 2004 15:45:20 -0400
Also, is it possible using WOFileUpload to prevent the data from being
uploaded after form submission and just pass the filename so a subsequent
page can do the actual upload?
> Got a WO component page which requests a filename from a user. The form is
> submitted to a DirectAction for processing.
>
> But, I need to make sure the filename starts with the customer's file code and
> ends with '.zip' before allowing the upload.
>
> I'm using WOFileUpload within a WOForm. Should I send the form to an action
> that checks the name before sending it on to the DA, or is there a way to do
> form validation of WOForms like you can with the javascript onsubmit() method?
--
Randall Perry
sysTame
Xserve Web Hosting/Co-location
Website Development/Promotion
Mac Consulting/Sales
http://www.systame.com/
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.