Forum Discussion

KalynPeters's avatar
KalynPeters
Qrew Member
6 years ago

Exact Form Print URL Button Displaying Blank Page

I have read similar posts where the solution was due to application tokens turned on, however mine is turned off and I am still showing a blank page. 

When I put a button to the exact form page, without an associated Record ID, on a dashboard page, the blank template will pull up. However, the URL button I have on my form that is supposed to open the exact form with all fields populated from the associated record suddenly stopped working. 

Any ideas?

3 Replies

  • Putting an exact form link on the dashboard should work.
    If you put the link to the exact form page on your dashboard you need to include some parameter to let exact forms know which record(s) to process.

    To process multiple records use a qid=x where x is the report id that filters the records to be processed in the table upon which the exact form was designed.

    You have to pass in either rid=x or qid=x, you cannot omit these parameters so use one or the other.

    you will see a blank page if the rid you passed in doesn't exist in the table.  So if you pass in rid=1 but there is no record in the table with the record id# field = 1 you will get a blank page, same holds true for passing in a qid value that doesn't exist.  qid=99 will render a blank page if there is no report with the id of 99

    Keith
    • MeredithMoore's avatar
      MeredithMoore
      Qrew Cadet
      By the way, if you go into your Exact Form and put the following in the body area, it will auto open to print.
      <body onLoad=qdbEF();window.print() class=exactforms lang=EN-US><!-- Body class and onload attributes modified -->

      ------------------------------
      Meredith Moore
      ------------------------------
      • AdamKeever1's avatar
        AdamKeever1
        Qrew Commander
        Thanks for that @Meredith Moore.

        Use the setTimeout property to delay the window print if your page takes some time to fully load (the 1000 is the time delay in milliseconds; i.e. 1000 = 1 second):

        <body onLoad=qdbEF();setTimeout(function(){window.print()},1000) class=exactforms lang=EN-US link=blue vlink=purple><!-- Body class and onload attributes modified -->​

        ------------------------------
        Adam Keever
        ------------------------------