Forum Discussion

MichaelTamoush's avatar
MichaelTamoush
Qrew Captain
4 years ago

API Edit Record

I think this has been asked but I can find the right community post (in fact I may have asked) -

If I am adding a record, and want a button that edits that record to check a checkbox, is there any way to do it before saving the record? There is no record ID so the button push would have to save the record, and then run the Edit Record API.  Or do I just need to force them to save the record first?

Add Record AP triggers the 'automatically save child record', but not edit record.

------------------------------
Mike Tamoush
------------------------------
  • @Michael Tamoush

    There isn't really a native way to check a box on a record before​ saving it. If this record is being added as a child record, or from somewhere where you have control over the sending URL, you could use the "?a=API_GenAddRecordForm" action paired with the URL Parameter to set the value of specific fields, for example "&_fid_21=1" where 1 = checked and 0 = unchecked.



    ------------------------------
    Justin Torrence
    Quickbase Expert, Jaybird Technologies
    jtorrence@jaybirdtechnologies.com
    https://www.jaybirdtechnologies.com/#community-post
    ------------------------------
    • JeffMickelsen's avatar
      JeffMickelsen
      Qrew Cadet

      I think I am doing this with a form rule.  Try something like the following where you substitute your field name for "CreateExtraTripCheck":

       

      Jeff & Kathy Mickelsen