• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Validating WOUpload form element before submitting
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Validating WOUpload form element before submitting


  • Subject: Re: Validating WOUpload form element before submitting
  • From: Jonathan Rochkind <email@hidden>
  • Date: Mon, 19 Apr 2004 15:44:27 -0500

At 3:45 PM -0400 4/19/04, Randall Perry wrote:
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?

I can not think of any way to do that.


> 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.
_______________________________________________
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.


  • Follow-Ups:
    • Re: Validating WOUpload form element before submitting
      • From: Randall Perry <email@hidden>
References: 
 >Validating WOUpload form element before submitting (From: Randall Perry <email@hidden>)

  • Prev by Date: Re: Validating WOUpload form element before submitting
  • Next by Date: 5.2.3 broke boolean conversions?
  • Previous by thread: Validating WOUpload form element before submitting
  • Next by thread: Re: Validating WOUpload form element before submitting
  • Index(es):
    • Date
    • Thread