This topic is locked

conditionally change "Add on the Fly" to "Edit on the Fly"

7/5/2021 8:13:17 PM
PHPRunner General questions
R
rmac author

I'm looking for a way to modify the "Add on the Fly" feature (Add New) to change into an edit function if there is already a record in the attached field. I saw that Funk Daddy did a tip on this in 2016, but it seems that his requirements were a lot more involved than what I envision; conditionally change the action from an INSERT to an UPDATE if a valid record ID has already been selected. Maybe I'm over simplifying it, but any feedback will be appreciated.