Forum Discussion

RichieEyles1's avatar
RichieEyles1
Qrew Member
4 years ago

check a box then redirect

Hello

Wanting to check a box before saving and redirecting to a landing page using rich text formula below.

Can anyone help with the checking the box component?

var text redirectafter = URLRoot() & "db/" & Dbid()  & "?a=dbpage&pageName=Landing Page.html" ;
"<a class='Vibrant Alert' style='width:80px; text-align: center; 'onclick='DoSaveAdd()' href='#'><img src=\"/i/clear2x2.gif\" onload=\"setTimeout(function(){ document.querySelector(`input[name='rl']`).value='' }, 1500);RedirectURL.value='" & $redirectafter & "';\"/>Submit</a>"


------------------------------
Richie Eyles
------------------------------

1 Reply

  • I think you would probably need to Save, Redirect to API_EditRecord to check the box, and then Redirect to the Landing Page

    ------------------------------
    Blake Harrison - DataBlender.io
    Quick Base Solution Provider
    ------------------------------