Results 1 to 2 of 2
  1. #1
    Join Date
    Sep 2004
    Posts
    5

    Unanswered: Validation Questions

    From a selection list, I need the program to validate the following:

    If Option Red is selected, then you must populate Field A and/or Field B and/or Field D.

    If Option Yellow is selected, then you must populate Field B and/or Field C.

    Can anyone give me a few hints how to go about doing this?

  2. #2
    Join Date
    Oct 2003
    Location
    Ger
    Posts
    1,969
    Provided Answers: 1
    Try this
    PHP Code:
       SELCET CASE Me.yourListName
         
    Case = "RED"
            
    txt_FeldA.visible=True
            txt_FeldB
    .visible=True
            txt_FeldD
    .visible=True

            txt_FeldA
    .visible=False
            txt_FeldB
    .visible=False

          
    Case = "Yellow"
            
    txt_FeldA.visible=False
            txt_FeldB
    .visible=False
            txt_FeldD
    .visible=False

            txt_FeldA
    .visible=True
            txt_FeldB
    .visible=True

         End SELECT 

Posting Permissions

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