Title: Concatination question...FusionScript related...sorry

Hi All,
I'm having trouble with something very simple…:(
Ok…I have created dynamic form variables like so 'form.item_Dynamic'.

I get the output I want when I do the following:
        <cf_fs_function name="updateCart" receives="theOne">   
                alert(form.item_1);            
        </cf_fs_function>
But I don’t get what I need when I do the following:
        <cf_fs_function name="updateCart" receives="theOne">   
                test = "form.item_"+"1";
                alert(eval(test));             
        </cf_fs_function>      

can someone point in the right direction?  Not really familiar with javaScript.
Thanks in advance.

Ron Mast
Truth Hardware
Webmaster
(507)444-4748

Reply via email to