This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

admin15190
admin15190

I am using the builder plugin form and I simply want to get the value from field a and update field b +1

eg a=1, b=2 (a+1)

I have tried defaultFrom, trigger but I just can't get it to work. What am I missing?

Thanks

Bhargav
Bhargav

Hi Try using the 'beforeSave' Event in your plugin Modal.

https://octobercms.com/docs/database/model#basic-usage

1-2 of 2

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.