| | |
passing the email as username in a form submission
we have a form and if we would like to pass some hidden fields.say,username is hidden but required and email and password is what the user form is about:-
<html> <head> <title>Untitled Document</title> <script language="javascript"> function fillname(val) { document.form1.textname.value=val ; } </SCRIPT> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> <body> <form name="form1" method="post" action=""> user email <input type="text" name="txtmail" onChange="fillname(this.value)"> <input type="hidden" name="textname"> </form> </body> </html>
Similar Threads
Other Threads in the PHP Forum
- Suppress field if blank in email submission from PHP Form (PHP)
- email=username in_form (PHP)
- username=email address inputted on submission>is this possible (PHP)
- email assigned to username on submit (MySQL)
Other Threads in the PHP Forum
- Previous Thread: username=email address inputted on submission>is this possible
- Next Thread: email=username in_form
| Thread Tools | Search this Thread |
Tag cloud for PHP
ajax apache array box broken buttons cakephp cart check checkbox class cms code combobox cookies css database date delete directory display download dropdown drupal dynamic echo email error file files folder form forms function functions header hosting href htaccess html image include insert ip java javascript joomla limit link list login lookup loop mail menu methods mlm mod_rewrite multiple mysql order parse paypal php problem query radio random recursion regex remote results rows script search select server session sessions sort sorting source speed sql string table unicode update updates upload url user validation variable video web website wordpress xml zend



