0

Clear Code for Button?

What is the function and code to use in a Button to clear a field? I want to click a button to clear two search fields.

8 replies

null
    • Ninox partner
    • RoSoft_Steven.1
    • 3 yrs ago
    • Reported - view

    Are the search fields text fields? Then you can use:   textfield := null

    • Mr_K
    • 3 yrs ago
    • Reported - view

    One of the fields is a number field.

    • Mr_K
    • 3 yrs ago
    • Reported - view

    One of the fields is a number field.

    • Ninox partner
    • RoSoft_Steven.1
    • 3 yrs ago
    • Reported - view

    It will also work on number fields. 

      • Admin.11
      • 1 yr ago
      • Reported - view

      RoSoft_Steven Rooryck Does this work on appointment fields 

      im trying  'Massage Booking' = null and it does not work

      • Admin.11
      • 1 yr ago
      • Reported - view

      RoSoft_Steven Rooryck just relised i forgot ":" before the = sign :=

    • Mr_K
    • 3 yrs ago
    • Reported - view

    I got it to work using this coded:

    (“Search by Type” := null) or (“Serach by Item #” := null)

    That clears or one field or both fields.

    • Mr_K
    • 3 yrs ago
    • Reported - view

    Keep in mind that this bad forum is converting single quote marks to double quote marks. Horrible.

Content aside

  • 1 yr agoLast active
  • 8Replies
  • 780Views
  • 1 Following