if then else - confirm box

Results 1 to 2 of 2

Thread: if then else - confirm box

  1. #1
    Join Date
    Dec 1969

    Default if then else - confirm box

    noVisitors = noAdults + noChildren + noFamily1A3C +noFamily2A2C + noDisabled+ noDisabledhelpers + noOAP<BR><BR>the above line is ok, I am a vb coder, please help me with the lines below&#062;&#062;&#062;&#062;<BR><BR>If noVisitors is greater than 11 then<BR> confirm box = "you will be redirected to the group booking form - click yes to continue or no to change quantity of tickets"<BR><BR>(yes will continue submitting the form and no will return to the form)

  2. #2
    Join Date
    Dec 1969

    Default RE: if then else - confirm box

    if(noVisitors&#062;11) {<BR> if(confirm(&#039;you will now be redirected click ok, or cancel to change number of tix&#039;) {<BR> top.location.href = "page location here";<BR> }<BR>}<BR><BR>you may find it useful to grab the JScript language reference, there&#039;s a link to the left of this page.

Posting Permissions

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