Click to See Complete Forum and Search --> : If statement for form results


tonybmcse
08-12-2004, 02:43 PM
Hello all. I'm new to these forums so if this has been discussed already please forgive me.

I need to know how to create an IF statement so that a certain field is displayed or hidden. A little explanation. I am asking the client whether or not they have a domain name already. If the answer is yes from the dropdown menu then I want the next field which is domainurl to be shown. If the answer is no, then I need that field to be hidden on the confirmation page.

My variables are <%domainyesno%> and <%domainurl%>.

Thanks in advance for your help.

Tony

javaNoobie
08-12-2004, 10:35 PM
basically if statements are like this..


if(condition 1) then
'some codes for condition 1
else
'some codes for default condition
end if