? :o(
Validate and process the data? Does that take place within
the DW INSERT
behaviour?
The operating areas are text values, also.
Would appreciate any help you could offer to someone very new
to all this.
Thanks.
Regards
Nath.
"Joe Makowiec" <makowiec@invalid.invalid> wrote in
message
news:Xns97E554A9150E5makowiecatnycapdotrE@216.104.212.96...
> On 17 Jun 2006 in macromedia.dreamweaver.appdev, Nathon
Jones wrote:
>
>> However....I need to also save the operatingarea,
for the region
>> they choose, in a hidden field so that I can also
INSERT this to the
>> database as part of the customers registration.
> [snip]
>> How do I get the operating area, associated with the
regional choice
>> by the user, to be inserted into the hidden field?
>
> Why do it clientside at all? Just set it up when you
validate and
> process the data and before you insert it, something
like (pseudocode):
>
> select case region {
> case 1-10 {
> operatingarea = 1
> }
> case 11-20 {
> operatingarea = 2
> }
> ...
> } // end select case
>
> VBScript SelectCase:
>
>
http://devguru.com/technologies/vbscript/14177.asp
>
> --
> Joe Makowiec
>
http://makowiec.net/
> Email:
http://makowiec.net/email.php