Expand all | Collapse all

check a box then redirect

  • 1.  check a box then redirect

    Posted 08-13-2020 05:00

    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

  • 2.  RE: check a box then redirect

    Posted 09-22-2020 16:40
    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