Display message for deactivated forms

Hi everyone,

I know we could schedule the form and set an expiry message. But that only works IF the form is active. But when it’s deactivated, it would not show the expiry message anymore.

My question is – is it possible to add a generic message for all deactivated forms through some codes in the functions? Something that would say “The form is no longer available…”

Thank you,

When using the PHP function call to embed a form (rather than the block or a shortcode) you can specify whether or not to display an inactive form:

If you use the function call to embed the inactive form, and the date is expired, the expiration message would be shown.

If the form was not scheduled, but is inactive, and you want to show an alternate message such as “This form is no longer available” I don’t have a ready solution for that.