RPGspInMult Function
Retrieves the value of a multiple occurrence form element.
Syntax
RPGspInMult(name : occurrence number)
Part | Description |
name | Required. Character expression representing the name of a multiple occurrence HTML form element. |
occurrence number |
Required. Numeric value representing the occurrence of a form field. For example, the first occurrence of the field is occurrence 1. |
Remarks
The function is usually used with checkboxes. The most common usage is for reading a list of selected checkboxes from a subfile.
Example
The following example reads every occurrence of a checkbox with the name 'applicants', and saves the value of each selected checkbox to session variables named 'applicant1', 'applicant2', 'applicant3', etc. Unselected checkboxes are not included.
See Also
Profound
Logic Software, Inc.
www.ProfoundLogic.com
(937) 439-7925