Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
IF Then else statement
#2
Solved: 11 Years, 4 Months, 4 Weeks ago
HI ,
You can use the If...Then...ElseIf statement if you want to select one of many blocks of code to execute.Then the statement as follows,
If 'Preferred comm' = Email.Enter email in the 'Email' field Then
Code:
document.write("..")
elseif 'preferred comm' = fax. Enter fax in the 'Fax' field Then
else
document.write("unknown")
End If

The above If...Then...ElseIf statement , you can write after 'Preferred comm' in expert view.
Reply


Messages In This Thread
IF Then else statement - by swetha.b - 12-03-2009, 06:01 PM
RE: IF Then else statement - by Jyobtech - 12-03-2009, 06:25 PM
RE: IF Then else statement - by swetha.b - 12-03-2009, 07:58 PM
RE: IF Then else statement - by swetha.b - 12-04-2009, 11:17 AM
RE: IF Then else statement - by swetha.b - 12-04-2009, 12:47 PM
RE: IF Then else statement - by nil - 12-04-2009, 02:59 PM
RE: IF Then else statement - by Jyobtech - 12-04-2009, 03:32 PM
RE: IF Then else statement - by nil - 12-04-2009, 03:37 PM
RE: IF Then else statement - by MahalakshmiDevi - 12-04-2009, 04:09 PM
RE: IF Then else statement - by nil - 12-04-2009, 04:17 PM
RE: IF Then else statement - by swetha.b - 12-04-2009, 04:27 PM
RE: IF Then else statement - by nil - 12-04-2009, 04:32 PM

Forum Jump:


Users browsing this thread: 6 Guest(s)