Discussions

 View Only
  • 1.  Weird Glitch with Form Rule to show/hide tab(s) within a section....

    Posted 10-25-2021 19:56
    Has anyone else experienced this? And, if so, did you/how did you fix it?

    Scenario:
    • Three tabs within a section in a form.
    • Three rules to show/hide the tabs based on a selection in "type of request".
    Problem:
    • First two tabs show/hide tabs (and the fields in the tab) correctly with no issues.
    • Third tab shows the tab, but doesn't show the fields within the tab until I click on the tab.
    Troubleshooting I've done so far...
    • If I swap the third tab/fields in the form element order, it will display correctly. I re-arranged the form elements and it is always the third tab/rule that has the issue. 
    • I tried adding the fields into the rule, so show tab, show field, show field, show field..., but that didn't change anything.
    I am stumped. Thanks in advance for any suggestions/help.

    ------------------------------
    Sherry Blackburn
    ------------------------------


  • 2.  RE: Weird Glitch with Form Rule to show/hide tab(s) within a section....

    Posted 10-25-2021 19:59
    The contents of a Tab never show until you click on the Tab. The exception is the first Tab on the form which will default to be "clicked open" when the record is first viewed or edited.

    That is normal behavior.

    ------------------------------
    Mark Shnier (YQC)
    mark.shnier@gmail.com
    ------------------------------



  • 3.  RE: Weird Glitch with Form Rule to show/hide tab(s) within a section....

    Posted 10-26-2021 13:09
    That's what I thought too. But, then why are both tab 1 and tab 2 displaying the fields, but tab 3 requires clicking?

    ------------------------------
    Sherry Blackburn
    ------------------------------



  • 4.  RE: Weird Glitch with Form Rule to show/hide tab(s) within a section....

    Posted 10-26-2021 13:13
    Edited by Laura Thacker 10-26-2021 13:14
    This is a glitch that Quickbase are "aware" of since March... but have not fixed yet.   I submitted this and this is the response Quickbase have given me:
    "I've gone ahead and tied this case to the current escalation/Bug ID:QBE012001. An escalation is how we track problems and bugs that are being worked on. You will be notified automatically once we have an update on the status of this escalation or when a fix is released."

    ------------------------------
    Laura Thacker (IDS)
    laura@intelligentdbs.com
    (626) 771 0454
    ------------------------------



  • 5.  RE: Weird Glitch with Form Rule to show/hide tab(s) within a section....

    Posted 15 days ago

    I didn't seem to find the "Fix" to this in the posts I looked at so I thought I'd provide some Intell/Obervations/My fix here.

    My Use Case:

    Section 1
    Element1, Element2
    Section 2
    Lots of Elements
    Section 3
    5 Checkboxes
    5 Tabs
    Varying # of elements per [Tab]
    _______________________

    Problem Was:
    In "Add" mode, & edit if I specific conditions occurred, the following occurred.

    Tab1 elements were always visible, even though form rule1 was:
    When chkbox1 = checked Show [Tab1] - In "Add" all fields are blank (Unchecked).  In theory, that rule should supersede the [Tab1] "clicked open" default behavior mentioned by Mark Shnier.  That default behavior is clearly not limited to [Tab1] as posted by Sherry Blackburn.  I can confirm the 1st 2 [Tabs] exhibit this behavior (Glitch1)

    The ONLY fix to having all elements for Tabs exceeding 2 is to write rules that Show every element in the [Tab].  

    In my case, and perhaps for others, I don't want [Tab1] to be shown by default when the form was opened in "Add", or edit if the project [Form] was not truly going to be started (i.e. Only a proof of concept project).

    In order for no [Tabs] to be shown by default, I created a new [Tab1] that has no Label and created a rule that would never evaluate as True.  Referencing the top of this post that looks like this:
    In Section1
    When
      multiple conditions are true
       All
        Element1  is equal to blank
        Element1  is not equal to blank
       Show [Tab] (This is now Tab1.

    My guess is the function that controls the creation/displaying/setting focus to [Tabs] has code that limits those behaviors.

    Hope this helps someone and provides some intell on what's goiung on with Tabs.



    ------------------------------
    Rene Jamis
    ------------------------------



  • 6.  RE: Weird Glitch with Form Rule to show/hide tab(s) within a section....

    Posted 14 days ago

    If you only have one tab and try to hide it then the name of the tab will be hidden but the underlying elements will appear. I'd recommend creating another tab, and then I think you can hide both.



    ------------------------------
    John Crosland
    ------------------------------



  • 7.  RE: Weird Glitch with Form Rule to show/hide tab(s) within a section....

    Posted 14 days ago

    Apologies,
    That's what I was trying to get across as my work-around "Fix".
    This "Glitch" has a couple parts to it.
    1. Tab 1 showing all elements by Default, which I created a fix for via what you mentioned.
    2. All Tab elements not showing when a Tab past 2 is Shown via another form element. The only work around for that is to include a rule that shows every element in Tabs 3-x. 

    Personally the not showing Tab elements until the Tab is clicked doesn't bother me much, but it's all a preference thing and that's the work-around.

    Thanks.



    ------------------------------
    Rene Jamis
    ------------------------------