Enable access to Sub-Form Label from within sub-form

Comments

2 comments

  • Official comment
    Avatar
    Jonathan Hsu

    Hi Lucas,

    Thanks for sharing. This is a request we've fielded in the past so glad to have some corroboration on its usefulness. I've passed along the request and am hopeful we can see this added in a future release. For now, would the built-in function iformbuilder.parentFormLabel be a viable option?

    Jonathan

    Comment actions Permalink
  • Avatar
    Rebekah Stevens

    We have tried to do similar things and ended up having to duplicate the subform. It would be much more elegant if we could reuse the subform. For my situation, the parentFormLabel would not help but it would be very helpful if the subform could dynamically read the name of the field that is hosting the subform so that we could conditionally apply values in the subform based on where the user was accessing the form. 

    For example 

    Main form - Individuals on-site

    first instance of subform - Subcontractors

    second instance of subform - Police Detail

    When the user enters the first instance of the subform, the subform would automatically apply a Subcontractor stamp in a text field and would show/hide specific fields

    When the user enters the second instance of the subform, the subform would automatically apply a Police Detail stamp in a text field and would show/hide different fields

     

     

    0
    Comment actions Permalink

Please sign in to leave a comment.

Powered by Zendesk