Could someone tell me why this isn't auto filling my email field?
I'm usingto try and pre-fill the field but it's just not seeing the field right?document.getElementById("form_email").value = '<?php echo $userdata->user_email; ?>';
The form's HTML is the following:and the field:<form action="" name="SUBMITFORM" id="SUBMITFORM" method="post" onsubmit="return CheckFormData();" enctype="multipart/form-data"><input type="text" name="form[email]" id="form_email" class="short" tabindex="4" value="" />
I know I'm missing something so simple, but I've tried, I really have....
Thanks!