asp question

Results 1 to 5 of 5

Thread: asp question

  1. #1
    clara Guest

    Default asp question

    Hi,<BR>Can somebody help me with the following case,<BR><BR>I need to get form variables from an asp page and check if the user has entered all the fields.Now i need to do this check on another asp page. if the user has missed out some fields, the user should be redirected to the first asp page. but i want the asp page to have first time entered field values in the form .<BR>How do i do this?<BR>Thanks,

  2. #2
    Clara Guest

    Default One more thing

    Hi,<BR>Most of the form fields are radio buttons and drop down boxes?<BR>How do I maintain the user entered values on return by redirect again?

  3. #3
    You don't Guest

    Default RE: One more thing

    You can&#039t do that exept collecting them into session variables, and that sucks, what you should do is to use client side javascript to do Form Validation ..

  4. #4
    Join Date
    Dec 1969

    Default not true

    there are multiple ways of passing such information from one page to another (and another and another)... i.e. hidden form fields, querystring, dictionary object...<BR><BR>i prefer server-side validation, personally... no annoying msg boxes... the only time i use session variables with server-side validation is when one of the form fields is a large textarea...<BR><BR>from what i&#039ve seen, more professionally built websites stay away from client-side validation...

  5. #5
    Join Date
    Dec 1969

    Default RE: not true

    I think a main reason client-side validation is avoided is this: someone could swipe your page source, remove the validation code, put it on their own server, and submit garbage to your site. Unless the original site is checking to make sure the submission came from a specific URL, that&#039s an issue.<BR><BR>Mike

Posting Permissions

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