sportstolen Posted October 3, 2010 Posted October 3, 2010 hi guys Im working on a thing wich will get name, address, city from a database. what it does, collect "ssn" send it to a database and i get a result in som arays. Now i want to fill out the form on my checkout page, but i dont know how to apply that to the "tep_draw_input_fields" Now im getting double fields in name, address and so on. <td class="main" nowrap><?php echo ENTRY_COMPANY; ?></td> <td class="main"><?php echo tep_draw_input_field('billing_company', (isset($billingAddress) ? $billingAddress['company'] : ''), 'style="width:80%;float:left;"'); ?></td> im using ajax/jquery to do a post to an "id" in the field,but then ive got the double fields. If i do like this it works but its double fields on the firstname. <td class="main" width="50%"><?php echo ENTRY_FIRST_NAME; ?> </td> <td class="main" width="50%"> <input type="text" name="billing_firstname" id="billing_firstname"><?php echo tep_draw_input_field('billing_firstname', (isset($billingAddress) ? $billingAddress['firstname'] : ''), 'class="required" style="width:80%;float:left;"'); ?> ' so what i want is to put th data i collect from the server into the tep draw input fields, so its saved in the database aswell. Hope you get what i mean :)
Recommended Posts
Archived
This topic is now archived and is closed to further replies.