changing action..

Results 1 to 2 of 2

Thread: changing action..

  1. #1
    Join Date
    Dec 1969

    Default changing action..

    i have these typical login page with username and password. the thing is i&#039;m trying to make the action change according to the text entered at the username i.e. if the user enter a username with an @ then the user will be login into the mail sytem otherwise it will login to the system itself. any ideas??<BR>

  2. #2
    Join Date
    Dec 1969

    Default There are many ways to... this.<BR><BR>Firstly you could do this client-sdie and write a JavaScript function that is called when the form is submitted. This function checks for the @ and changes the ACTION property of the form accordingly.<BR><BR>Secondly, you could do this server-side and write an ASP page which checks the information and the does a Response.Redirect depending on whether there&#039;s an @ or not.<BR><BR>Oliver.

Posting Permissions

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