please help

Results 1 to 2 of 2

Thread: please help

  1. #1
    Alicia Guest

    Default please help

    i am going to check the date for the client side in the leave application form. here is my code but the checking function is not running. may i know what&#039;s wrong?<BR><BR>&#060;%<BR><BR>dim StartDate<BR>dim EndDate<BR><BR>StartDate = theForm.MonthStartsLeave.value & "/" & theForm.DayStartsLeave.value & "/" & theForm.YearStartsLeave.value<BR><BR>EndDate = theForm.MonthEndstartsLeave.value & "/" & theForm.DayEndsLeave.value & "/" & theForm.YearEndsLeave.value<BR><BR> If Cdate(StartDate) &#062; Cdate(EndDate) Then<BR> MsgBox "Invalid"<BR> FrontPage_Form1 = False<BR> End If<BR>%&#062;<BR>

  2. #2
    Rob Guest

    Default RE: please help

    No Message Boxes in vbscript. It works in VB but it is not<BR>going to work here. ASP runs on the server. THerefore the messagebox would have t travel from the server to the client. It will not do that.<BR><BR><BR>Rob<BR>

Posting Permissions

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