mdj1 Posted March 9, 2010 Share Posted March 9, 2010 Hi AllMy first post here.When you go throught the registration / checkout process, whilst typing your name for example it is duplicated in the name field below, (which is excellent by the way) but where is the javascript for this as I cant seem to find it.Thanks in advanceMark Link to comment Share on other sites More sharing options...
rocky Posted March 10, 2010 Share Posted March 10, 2010 The code that copies the first name is in authentication.tpl on line 81: <input onkeyup="$('#firstname').val(this.value);" type="text" class="text" id="customer_firstname" name="customer_firstname" value="{if isset($smarty.post.customer_firstname)}{$smarty.post.customer_firstname}{/if}" /> It is the onkeyup event that copies the value. Link to comment Share on other sites More sharing options...
mdj1 Posted March 10, 2010 Author Share Posted March 10, 2010 HI RockyThanks for that, I did wonder if it was a bit of smarty code Link to comment Share on other sites More sharing options...
pepperoni Posted June 5, 2011 Share Posted June 5, 2011 Hi Rocky,I have a related issue on this.If you can suggest anything please post here.http://www.prestashop.com/forums/viewthread/113146/development/auto_fill_in_first_name_and_last_name_in_registration/Many thanks. Link to comment Share on other sites More sharing options...
Recommended Posts