www.webdeveloper.com
Results 1 to 2 of 2

Thread: If statement for form results

  1. #1
    Join Date
    Aug 2004
    Posts
    4

    If statement for form results

    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

  2. #2
    Join Date
    Jul 2004
    Location
    Singapore, SG
    Posts
    654
    basically if statements are like this..

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

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles