Quantcast
Channel: General developer forum
Viewing all articles
Browse latest Browse all 37677

Re: $mform and form elements syntax??

$
0
0
by Davo Smith.  

No, I definitely did not mean ask the user to use Ctrl-C / Ctrl-V to copy the username across, what I meant was something like this (in PHP, after the form has been submitted):

function process_the_form($formdata) {

...
$formdata->username = $formdata->email;
...

}


Viewing all articles
Browse latest Browse all 37677

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>