Linked Checkmarks

Viewing 3 reply threads
  • Author
    Posts
  • July 20, 2021 at 6:22 AM #44830

    Anthony Harrison
    Participant

    Hi
    Deep in my heart I know the answer is “Javascript” but does anybody know a way to link say, two checkboxes so if box “YES” is clicked then box “NO” can’t be? It is a visual thing for scrolling through records, I realise that an alternative would be Tick/No Tick but I prefer that a positive action is made.

    Many thanks if you can help.

    July 20, 2021 at 3:47 PM #44832

    Sam Moffatt
    Participant

    I did a checkbox flip flop thing a while back using scripting. Looking at that post, field ID’s are now available in the UI for fields so you don’t need to use the form logger to get the script field ID.

    It should be easy enough to copy and paste to handle the toggle properly. I did some updates for my toggle that also set a date field when my “confirmed” field is toggled and also reset the state if some other metadata is set that indicates that it should be in “confirmed” state.

    July 20, 2021 at 8:24 PM #44834

    Brendan
    Keymaster

    Alternatively, on the Mac version you can have a Pick List setup with the Radio Buttons “Display As” option. Then you setup a Yes and No value, then you can have only a single value and it will alternate between the two. On the iOS version this will just be a regular single-value Pick List.

    So it’s not checkboxes per se, but radio buttons, which are really checkboxes that can only have one selected at a time. Just with round dots rather than square boxes and a checkmark.

    July 21, 2021 at 12:20 AM #44838

    Anthony Harrison
    Participant

    Many thanks to both of you for your replies. TapForms has become an incredibly useful tool for our small business and as I go along I keep finding more uses. Currently recreating the IEE Portable Appliance Testing form that links to the asset register. Much more to learn!

Viewing 3 reply threads

You must be logged in to reply to this topic.