Crocoblock / jetformbuilder

72 stars 15 forks source link

Post Submit Action - Send Email - Custom Macro #436

Open engrrajonahmed opened 1 month ago

engrrajonahmed commented 1 month ago

Is it possible to create custom macro for send email post submit action? For example, %site_url%, %site_domain%, %current_page_title%.

I know the workaround but that's not good enough.

We need hook.

Workaround

  1. Add hidden field.
  2. Change the value of the hidden field using jet_fb_context() function.
  3. Use the hidden field macro in the email.