Discussions

Expand all | Collapse all

Caps locking in all fields a possibility?

  • 1.  Caps locking in all fields a possibility?

    Posted 01-24-2018 16:59
    Looking to see if there is a way to put a caps lock on all tables and forms within an app. It helps with consistency with multiple people entering into the system.


  • 2.  RE: Caps locking in all fields a possibility?

    Posted 01-24-2018 19:19
    Use the IOL technique with this essential code:
    $("form[name=editform] input[type=text], form[name=editform] textarea").on("change", function() {
      $(this).val($(this).val().toUpperCase());
    });
    Here is a screenshot captured after blurring each field and manually applying the above code through the console::



    There are two text and two text  multi-line fields on the form. I wrote the code to capatalize each field after the field was changed. It would also make the changes on a letter by letter basis.


  • 3.  RE: Caps locking in all fields a possibility?

    Posted 08-02-2018 00:45
    Dan will this change any previous type fields to all caps with the page is opened after it was saved with lower case



  • 4.  RE: Caps locking in all fields a possibility?

    Posted 08-02-2018 01:43
    No it will only uppercase fields on the open form when the value is changed. If you want to change fields to uppercase en masse you have to use another approach.

    The demo in this thread shows you how to apply a regular expression to do bulk modifications to a specific field in a query,

    Clear the Swamp
    https://community.quickbase.com/quickbase/topics/what-is-the-clear-the-swamp-technique