Self Submitting Form

Results 1 to 2 of 2

Thread: Self Submitting Form

  1. #1
    Join Date
    Dec 1969

    Default Self Submitting Form

    How do I get a self submitting form to work. basically, i am going to validate an email address in the main page. where there is a form (1 field), i want to validate it, server side. also i dont want another page to check the email. so if someone enters a bad email, an error message will come up, but in the default.asp page. can someone point to me at the right direction? i check out a few sites, but couldnt find the right way for it to work! thanks!

  2. #2
    Join Date
    Dec 1969

    Default RE: Self Submitting Form

    Cannot u use a client side scripting like javascript?<BR><BR>if u r inclined to do a server side then do the following.<BR><BR>have a button in ur form and write a javascript to submit it to the same page on onClick even of the button,with a dummy flag as querystring. at start of page check for this querystring and do the vbscript or other serverside validation u want if there is value in the querystring.<BR><BR>got it?<BR><BR>cheers

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts