Hi
I have a form which I would like to autopoulate the name & email fields for users who are logged in, but allow them to change if the wish (ie basically make user details the default text). The basic code for the boxes is below & I'm sure I can get the values from the user info but just don't know how. Any help very gratefully received. π
I have a form which I would like to autopoulate the name & email fields for users who are logged in, but allow them to change if the wish (ie basically make user details the default text). The basic code for the boxes is below & I'm sure I can get the values from the user info but just don't know how. Any help very gratefully received. π
<div class="ccms_form_element cfdiv_text" id="name_container_div"><label>Name</label><input maxlength="150" size="30" class=" validate['required','alpha']" title="" type="text" value="" name="From" />
<div class="small-message">Required</div><div class="clear"></div><div id="error-message-From"></div></div><div class="ccms_form_element cfdiv_text" id="email_address_container_div"><label>Email Address</label><input maxlength="150" size="30" class=" validate['required','email']" title="" type="text" value="" name="email" />