Jump to content



Browser Autofill

autofill browser

  • Please log in to reply
1 reply to this topic

#1 NickOE  newbie

  • Members
  • 29 posts
  • FM Application:11 Advance
  • Platform:Cross Platform
  • Membership:FileMaker Business Alliance
  • Time Online: 2d 15h 52m 34s

Posted 02 December 2011 - 04:06 PM

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?
  • 0

#2 webko  master

  • Members
  • 339 posts
  • LocationSydney, Australia
  • FM Application:11 Advance
  • Platform:Cross Platform
  • Skill Level:Expert
  • Membership:TechNet, FileMaker Business Alliance
  • Time Online: 25d 13h 42m 34s

Posted 07 December 2011 - 03:31 PM

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"
  • 0

FMForum Advertisers