Results 1 to 4 of 4
  1. #1
    Join Date
    Aug 2004
    Posts
    364

    Unanswered: Need a checkbox to blank out a text box

    Hi people

    When I tick a checkbox I need it to clear the text in a textbox called Address.

    Many thanks

    Tom

  2. #2
    Join Date
    Sep 2003
    Location
    Slovenia
    Posts
    18
    Simple:

    On click of the checkbox put code:
    Me.Address.value =""

    Or you have some other problem?
    www.SloMusic.com

  3. #3
    Join Date
    Oct 2003
    Location
    Ger
    Posts
    1,969
    Provided Answers: 1
    in the Onclick event of the CheckBox write

    PHP Code:
      If Me.yourCheckBox Then                  ' if the check box checked
         Me.yourTextBox=""
         
      EndIf 

  4. #4
    Join Date
    Aug 2004
    Posts
    364

    Talking

    Thanks guys thats sorted it and was dead easy! Im hopeless at even simple programming!

    Cheers

    Tom

Posting Permissions

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