Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 4733 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

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?

Posted

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"

This topic is 4733 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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.