How to code if a certain field has content go to another fid
Posted: Tue Aug 04, 2015 7:46 pm
I have used an options menu which has 8 options to it.
I have 6 fields where i want to put the menu choice output.
Fields a,b,c,d,e,f
I want the first choice from the options menu to output into field "a" ( i got this part to work)
then I want the script to be able to recognize content in field "a" and output the second menu choice
into field "b" etc.
this is what i have written but it is not working.
on menuPick pItemName
switch pItemName
case "choice1"
put "AA" into field "a"
if the contents of field "a" = "true" then (true-meaning it contains output)
put "AB" into field "b"
end if
end switch
end menuPick
Just looking to be pointed in the right direction!
I have 6 fields where i want to put the menu choice output.
Fields a,b,c,d,e,f
I want the first choice from the options menu to output into field "a" ( i got this part to work)
then I want the script to be able to recognize content in field "a" and output the second menu choice
into field "b" etc.
this is what i have written but it is not working.
on menuPick pItemName
switch pItemName
case "choice1"
put "AA" into field "a"
if the contents of field "a" = "true" then (true-meaning it contains output)
put "AB" into field "b"
end if
end switch
end menuPick
Just looking to be pointed in the right direction!