Make new entries starred by default

Hi there,

We’re using GF to display any entries that are “starred” on the front-end. My client now wants all entries to be shown by default, unless disabled.

Is there any way to make all new entries (for that form) to be starred by default?


You could use the gform_after_submission hook to update the entry after submission, using and API Function:

That’s the function to use. The time to do it is gform_after_submission: