December 3, 201114 yr I would like to use the Autofill feature that is built into browsers. In Safari if you go to a form field that has a name tag like the following: <input type="text" name="FirstName" /> When you start typing your name, Safari will ask you if you want to Autofill the rest of your info. If you choose Autofill it will fill in all the fields that your computer knows (Last name, address, email, phone). The problem is that in my PHP code the name tag has code for connecting to FileMaker, like the following: <input type="text" name="<?php echo getFieldFormName('hh_pt_name_first', 0, $record);?>" value="<?php echo $record->getField('hh_pt_name_first', 0) ;?>"> So the Autofill will sometimes pop up and if you click Autofill it puts the information in the wrong fields. Does anyone know how to make the Autofill work?
December 7, 201114 yr You would have to make the actual field names in the database match what AutoFill is expecting... Then, when the PHP is rendered to the browser, it would 'see' name="NameFirst"
Create an account or sign in to comment