Forum Discussion

ArshadKhwaja's avatar
ArshadKhwaja
Qrew Commander
7 years ago

Showing a child form in Parent Form

Just wondering if we can actually embed the child form onto the parent rather than looking up values? 

7 Replies

  • KirkTrachy1's avatar
    KirkTrachy1
    Qrew Assistant Captain
    You can embed a form in a form if you create an iframe in a formula text field.  You then create a report link who's source and destination is the iframe field.  Check out any of the project records in the "Magic Buttons" app available in the Quick Base Exchange.  There is an example of embedding a mobile version of a form on a project record.

    i.e example iframe.  I added mobile_ in front of the nwr so it would give me the mobile version of the form.

    <iframe width="560" height="1675" frameborder="0" marginheight="0" marginwidth="0" src="https://team.quickbase.com/db/bnvx2unar?a=mobile_nwr"></iframe>

    If you want to use the standard Quick Base form you can do the following:

    <iframe width="560" height="1675" frameborder="0" marginheight="0" marginwidth="0" src="https://team.quickbase.com/db/bnvx2unar?a=nwr&ifv=1"></iframe>

    The mobile version doesn't have the Quick Base header like the regular form so I've also added &ifv=1 so the page surroundings would be suppressed and show only the form.

    • BradLemke's avatar
      BradLemke
      Qrew Assistant Captain
      Kirk, I appear to be having issues getting non-mobile to display in my own app as well as the magic buttons app when performing the changes you've listed in this comment. Am I missing a detail here?
      • PrashantHubbal1's avatar
        PrashantHubbal1
        Qrew Member
        Were you able to resolve this? even I'm unable to embed non mobile forms

        ------------------------------
        Prashant Hubballi
        ------------------------------
  • There is not a native way to embedded a form within a form, but it is an interesting concept.
  • Wouldn't a standard embedded report do the trick for you if all you are doing is looking up values? Plus, there's always grid edit to be able to edit those child records.
  • You are right but that would be row based report. 

    Mark thanks for your response? 
    • GauravSharma3's avatar
      GauravSharma3
      Qrew Commander
      >You are right but that would be a row based report

      Yes, it would be a row based report. but, at least you have an option to edit the existing child records or add the new ones.

      Currently, this is the only way to achieve this.

      Thanks,

      Gaurav