Forum Discussion

MichaelGraham2's avatar
MichaelGraham2
Qrew Assistant Captain
9 years ago

add record using formula text field rdr syntax

I think I need to put rdr in this formula text button but not sure of the syntax...

"<a  class='Vibrant Success' href='" & [_DBID_ENQUIRIES] & "?a=API_AddRecord&apptoken=apptoken&_fid_10=" & [Record ID#] & "'>Make an Enquiry</a>"

It needs to continue to edit the new record.

12 Replies

  • MichaelGraham2's avatar
    MichaelGraham2
    Qrew Assistant Captain
    There are extra characters beyond the end of the formula.


    var text URL = URLRoot() & "db/" & [_DBID_ENQUIRIES] & "?a=API_GenAddRecordForm&_fid_10=" & URLEncode ([Record ID#])& "&z=" & Rurl();

    "<a  class='Vibrant Success'href='" &$URL &  "'>Make an Enquiry</a>"

    That works with an & before the $URL :)

    I've been trying all sorts of combinations of this for 2 days!!   
    Thanks again Mark.