NickOE Posted December 3, 2011 Posted December 3, 2011 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?
webko Posted December 7, 2011 Posted December 7, 2011 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"
Recommended Posts
This topic is 4991 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now