Forum Discussion

MannyCruz's avatar
MannyCruz
Qrew Assistant Captain
8 years ago

Is there any way to create a conditional button (Preferably Formula Text, but URL will work too, Text just looks nicer).

Is there any way to create a button (Preferably Formula Text, but URL will work too, Text just looks nicer) that would change a status field based on a condition? So the button would change a status field based on checkboxes. If Checkbox A is true, then change status to _____, if checkbox B is..... etc. I figured I would pop in If statements but I don't really know if that is possible or how to format it if it is. 
    • MannyCruz's avatar
      MannyCruz
      Qrew Assistant Captain
      Also, appreciate you pulling the code from my previous post, amazing (:
    • MannyCruz's avatar
      MannyCruz
      Qrew Assistant Captain
      Quick question, how would I format this to include editing a field? Would I just add and API call for editing a record and specify the fields?
  • MCFNeil's avatar
    MCFNeil
    Qrew Captain
    Just change the URL in the href='API_EditRecordURLCode'

    Do you have an existing edit record URL to work with?