This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
special_treatment [2016/06/26 11:04] geelling |
special_treatment [2017/02/28 10:09] (current) geelling |
||
---|---|---|---|
Line 22: | Line 22: | ||
TYPE=EMAIL:DOMAIN=somedomain.com,otherdomain.org.uk - a specific case of the email type, which will only allow emails matching the given domains to be used | TYPE=EMAIL:DOMAIN=somedomain.com,otherdomain.org.uk - a specific case of the email type, which will only allow emails matching the given domains to be used | ||
- | [due 1-August-2015]: | ||
TYPE=DATE expanded to allow all of the following | TYPE=DATE expanded to allow all of the following | ||
* TYPE=DATE:FUTURE - allow only future dates | * TYPE=DATE:FUTURE - allow only future dates | ||
Line 45: | Line 44: | ||
This is used to access functions such as lookups, and is normally attached to a button. | This is used to access functions such as lookups, and is normally attached to a button. | ||
- | [[form_functions|View the list of form_functions]] | + | [[form_functions|View the list of form functions]] |
- | + | ||
- | [[ | + | |
- | The main lookups available are as follows: | + | |
- | + | ||
- | == JS=Javascript:SPLGetAddressData(document.getElementById('article_form_user_xx').value) == | + | |
- | + | ||
- | This uses an external postcode lookup to find the address details matching a given postcode. This does not lookup the house name or number which must be entered by the user. | + | |
- | + | ||
- | * article_form_user_xx must identify the column containing the postcode | + | |
- | * READONLY;LIB=address_line1 - address line 1 to be populated | + | |
- | * READONLY;LIB=address_line2 - address line 2 to be populated | + | |
- | * READONLY;LIB=address_line3 - address line 3 to be populated | + | |
- | * READONLY;LIB=address_town - address town to be populated | + | |
- | * READONLY;LIB=address_county - address county to be populated | + | |
- | * READONLY;LIB=address_country - address country to be populated | + | |
- | * READONLY;LIB=address_client - (optional) if using a multi-client setup, this can be used to lookup the client identified with the postcode | + | |
**UPDATESOURCE** | **UPDATESOURCE** |