• Resolved goettel

    (@goettel)


    Apart from the need for shortcodes for confirmation messages I also don’t see I can add indata masks to force a certain format to fields (such as the Brazilian CPF, XXX.XXX.XXX-XX). Is this a planned feature?

Viewing 3 replies - 1 through 3 (of 3 total)
  • thethemefoundry

    (@thethemefoundry)

    Hey there, @goettel!

    Just to be sure I’m on the same page, you would like to use shortcodes in your confirmation messages?

    Regarding data masks, it’s definitely on our roadmap. It’s just not there yet, I’m sorry! Keep an eye on updates. ??

    Thread Starter goettel

    (@goettel)

    Hi,

    Yes, without being able to use shortcodes in for example confirmation e-mails I am unable to currently switch to the plugin from CF7, but apart from this I like the usability of your work.

    Thansk!

    thethemefoundry

    (@thethemefoundry)

    Glad to hear you like HappyForms, @goettel!

    You’re right, shortcodes won’t work out of the box in your email messages. HappyForms exposes a filter you could use for this, though. Your email content is filtered through this before being sent:

    apply_filters( 'happyforms_email_content', $content, $response, $to );

    You could hook into that, and check the $to variable to distinguish between messages sent to your site admin and confirmation messages sent to your users.

    It might sound tricky, but really isn’t: if you’re up for the challenge, I’ll be glad to share a snippet you can add to your theme functions.php file.

    Let us know what you think!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Indata masks’ is closed to new replies.