This topic is locked

1 question on Autofill

1/31/2015 8:10:47 AM
PHPRunner General questions
A
Anapolis author

[size="3"]Is there a way to rewrite or modify the Ajaxed Auto-fill feature? I am using the latest version of PHPR 8.
The auto-fill works inconsistently often enough to not be able to guarantee that I have a consistent solution when I need fields to auto-populate dependent fields.
For instance:
++) With the lookup wizard I use the autocomplete feature to designate that selecting the account number returns the matching business name, address, telephone number,email address, zipcode & contact name fields to immediately appear in the child record form.
+++) Problem is that one important field may be missed with this action. Most of the time all fields are correctly filled in but during a typical session of filling in 10 forms or so this "blank field" may happen twice or three times. Different users try 3 or 4 methods to re-start the process and get that blank filled in as it is designed to happen.
As the developer I would like to put an action up that simplifies the User's job to fill in these forms with accurate information.
The inconsistency with the Autofill feature happens daily and I have no answer how to "fix" the issue.
I know that different browsers with installed add-ons, different program environments on computers, perhaps a faulty keyboard, or a particular version of browser can affect these actions, theoretically, and it is the fault of the browser, hosting server, internet connection, or computer.

[/size]
[size="3"]My Question: Is there a way that I can Reinforce this action by modifying the j-query, javascript, Yahoo js, jason, whatever components are used?
Is there a way for the Auto-Fill feature created with the Lookup Wizard to "double check" whether a User selection has actually filled in all fields with values?
That after a user selects the key value from the master table the Auto-fill feature then checks for the results. That it sniffs to detect if the procedure has done its job and delivered values to each designated Auto-fill field in the child record form before Submit?
If the Auto-fill scripts detect that a field is still blank then that field will be quickly highlighted and a message pop-up returns saying "Retrieving the Address for Acme Candy--please wait briefly until this field is filled in."
Thank you so much for letting me know what the possiblities may be.[/size]

Sergey Kornilov admin 2/2/2015

While I'm not quite sure what is the exact issue you trying to solve (autofill only fills part of fields?) you can setup all those fields as Required and this will solve the issue. They either to be filled automatically or users have to fill them.