Syntax Parameters Example Programs
w3GetVal returns the value of a form variable. For instance, if there was an input field named "CustomerNumber", and the user typed "100" in that box before selecting Submit, the following call places "100" in the FlashBASIC variable named "val": call w3GetVal(val,'CustomerNumber')
If the name begins with a "]", then a multivalued set of values is returned. If it does not begin with a "]", and more than one variable has the same name, then only the first is returned.
If the value returned contains an asterisk as the first character, then FlashCONNECT looks to see if there is a variable with the same name as the second through Nth character of the value, and if there is, returns its value instead of the original value.
If the value returned contains an exclamation point as the first character, then the value is assumed to be a macro, and a macro replacement occurs. The macros are:
|
!url |
Returns the URL that got us here, including the query string. |
In case D3 is operating in a case sensitive mode, all field names and requested names are converted to upper case before extraction.
call w3GetVal (val, name)
|
val |
Out |
Return the value here. |
|
name |
In |
The name of the form parameter. |