CodeCharge StudioThe Autofill feature retrieves a matching record from an Ajax service and
populates selected fields within the current form.
The current control value will be passed to the Ajax service as URL parameter
named "keyword". An Ajax service can then use this parameter to
retrieve matching record.
The Autofill feature is implemented via the Prototype Ajax library and shown as PTAutofil.
All controls
| Property | Description |
|---|---|
| Enabled | Specifies whether the feature is active. |
| Name | User assigned name identifying the feature within HTML. |
| Controls | Controls to be populated with field values retrieved from an Ajax
service. You can also specify HTML property as the target for each control if other than "value". For example specify "src" to modify the image source. |
| Start event | Client event or condition upon which the feature is executed. You can select one or multiple events or conditions via the provided dialog. |
| Value field | HTML property of the current control whose value will be passed to the
Ajax service as criteria to find matching records. Sample values: value, innerHTML, span. The Ajax service can use this value in the form of URL parameter named "keyword". |
| Service Page | Ajax Service page used to retrieve matching records. |

