On "Edit Record" only fill field if it is currently empty but don't override...

Options
devben
devben Member ✭
edited November 2023 in ? Help! I'm a Noob

In my Function Stack I want to Edit a Record but only fill the fields which are empty. I noticed there are filters for isEmpty which gives me true or false but I cant use this to set it if true.

πŸ™„ How can I achieve this?

Is it possible to use "Add Record", "Edit Record", etc in a Lambda Function?

Tagged:

Best Answer

  • Ray Deck
    Ray Deck Trusted Xano Expert ✭✭✭
    Answer βœ“
    Options

    there is a filter called first_notempty which is ideal for this. You pass in first the value from get_record, and the your new value. That way it re-populates the value from get record if its present, and falls back to your new value if it is not.

Answers