Follow

API search field (with suggestions)

api_search_field_w_suggestions.svg

This field type will make a GET-call to a specified URL. To then use values ​​returned from the call to fill in fields in the form, it is required that the field has its name set to http_ + a key from the response, e.g. http_user.name. The field will then be filled in with the value of the key.

In the Settings for the field you can choose how many fields (parameters) are needed for the search. When you then choose which URL to search for, you can access the values from the added fields by entering the field parameter name enclosed by { }, for example {example}.

You can also choose values from other added fields by entering the field’s name within { }. If a field is found, the parameter will be replaced with the value of the found field.

You can also get search suggestions that match the entered value presented automatically in the search field.

Was this article helpful?
0 out of 0 found this helpful

0 Comments

Article is closed for comments.