ifv and OpenAsPopup conflict
I have a rich text button for the user to click to make a quick edit, which opens a popup window that leverages a code page to close automatically when saved (following the "CloseWindow.html" pattern illustrated here). I am attempting to also hide the normal qb UI in the popup window utilizing an ifv parameter, but when I do this the window no longer closes automatically. My base url is in a field [Edit User Alert]: URLRoot() & "db/" & Dbid() & "?a=er&rid=" & URLEncode([Record ID#]) & "&dfid=11" & "&z=" & Rurl() My rich text button adds the ifv (currently commented out) and NextURL parameters to the url and sets the class: var text url = "'" & [Edit User Alert] & //"&ifv=10" & "&NextURL=" & URLEncode(URLRoot() & "db/" & AppID() & "?a=dbpage&pageid=5") & "'" ; ... var text class = "'OpenAsPopup' data-height=600 data-width=850 data-refresh=true "; ... The window closes correctly without the ifv parameter but when it's added the window no longer closes. Where am I going wrong?111Views1like4CommentsWhat does the ifv url parameter do?
What is the ifv parameter used for? As in "&ifv=0", "&ifv=1", etc. It seems to have something to do with iFrames but I don't see in the documentation or any Qrew discussions an explanation of what it's actually doing. The specific context I'm running across it is in a rich text report formula containing a hyperlink to display a specific record/form in a popup window. At first I thought it was just controlling whether the link would open as a popup, but that appears to be done using `class='OpenAsPopup'`. Also I'm see examples online using values other than 0 or 1, so I don't think my guess makes sense.Solved215Views1like4Comments