USA
800 691 9120
UK
01225 704844
We use cookies on our website to analyze website usage and to help secure the website against misuse. Advertising and functional cookies are not used in our site or our web application products.
By clicking “Accept Essential Cookies Only”, you consent to us placing these cookies.
Add an input field to the active AMSX form
Appends a field to the form created by Form.Create. Supports a wide range of field types, layout, validation, lookup, and tooltip options. Fields are displayed in the order they are added when Form.Show is called.
| Parameter | Description |
|---|---|
| cmd | field name |
| Argument 0 | display name |
| Argument 1 | field type |
| Argument 2 | validation code |
| Argument 3 | field expression |
| Argument 4 | extra option HTML |
| Argument 5 | top |
| Argument 6 | left |
| Argument 7 | width |
| Argument 8 | height |
| Argument 9 | max length |
| Argument 10 | default value |
| Argument 11 | lookup |
| Argument 12 | param selected |
| Argument 13 | param unselected |
| Argument 14 | param |
| Argument 15 | rows |
| Argument 16 | field tag |
| Argument 17 | tooltip |
| Argument 18 | query string |
| Argument 19 | evaluate |
Form.AddField "field name", "display name", "field type", "default value", "lookup", "param selected", "param unselected", "param", "rows", "field tag", "tooltip", "query string", "evaluate", "validation code", "field expression", "extra option HTML", "top", "left", "width", "height", "max length"