w3GetVal

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.

Syntax

call w3GetVal (val, name)

Parameters

val

Out

Return the value here.

name

In

The name of the form parameter.

 

Example Programs

programming.bas9c

receivedata

programming.bas8b

applet1

mvDCompile

disconnect

w3admin.w3apps

event

java1

act*23388

applet2

act*23235

w3Admin

act*22091

MTDecline

w3admin.w3user.process

w3sql1

w3Admin.w3Config.process

w3Admin.w3Groups.process

MTAccept

act*23611

act*24843

w3Admin.w3Apps.create

applet1-orig

programming.bas6

w3Admin.w3Apps.Maintain

wbp-doc-html

Myapp

programming.bas7

w3Admin.w3LogsControl.Process

restartFlashCONNECT

persistentConnection

w3Admin.w3Apps.Update

w3mvDTestSelection

webtcl

FrameTest

Ihello

senddata

nptest

programming.bas8a

programming.bas9b

CC.Driver