Title: Radio values
Last modified: October 8, 2021

---

# Radio values

 *  Resolved [mrbleuu](https://wordpress.org/support/users/mrbleuu/)
 * (@mrbleuu)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/radio-values/)
 * Hi,
 * A recent update has limited “Radio values can include letters, numbers, and hyphens
   only.”
 * Is it possible to allow more than these characters (i.e. HTML tags)? I use a 
   form to email people instructions and customise email content based on their 
   radio button input. If I used conditions in the EMail Notification, I would have
   to have almost 20 different variations (for combinations of different question
   responses) that I constantly update as my instructions change.
 * This limitation was not previously in place.
 * Thanks

Viewing 15 replies - 1 through 15 (of 17 total)

1 [2](https://wordpress.org/support/topic/radio-values/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/radio-values/page/2/?output_format=md)

 *  Plugin Support [Dimitris – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support6/)
 * (@wpmudev-support6)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/radio-values/#post-14954317)
 * Hello there [@mrbleuu](https://wordpress.org/support/users/mrbleuu/)
 * I appreciate the request, I forwarded to our developers in case there’s any workaround
   we could share here with you. Your patience is highly appreciated! 🙂
 * Take care,
    Dimitris
 *  Thread Starter [mrbleuu](https://wordpress.org/support/users/mrbleuu/)
 * (@mrbleuu)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/radio-values/#post-14954498)
 * Thanks. Currently it is working as the data is there from previous versions. 
   However I cannot edit any forms without ruining it.
 * The only special characters I need are spaces (” “), letters, numbers and ability
   to tag (“<” and “>”).
 * I see another user has posted something similar and you said you will re-allow“
   text” into the box on the next update. Please ensure you allow above characters
   when you do this.
 * Thank you
 *  Plugin Support [Laura – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support8/)
 * (@wpmudev-support8)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/radio-values/#post-14958213)
 * HI [@mrbleuu](https://wordpress.org/support/users/mrbleuu/)
 * Thank you for response!
 * Unfortunately, there’s no workaround for this for now other than possibly rolling-
   back to one of the previous versions of the plugin.
 * But I’ve got confirmation from our developers that these characters are “re-allowed”
   in nearest upcoming version of the plugin – 1.15.3. It should be released soon
   so once you update, it should start working again out of the bo and you should
   be able to edit/add forms with these characters.
 * Kind regards,
    Adam
 *  Plugin Support [Dimitris – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support6/)
 * (@wpmudev-support6)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/radio-values/#post-14963075)
 * Hello [@mrbleuu](https://wordpress.org/support/users/mrbleuu/)
 * It seems that there’s a workaround until v.1.15.3 is published. You can add the
   following snippet in a MU plugin ([https://wpmudev.com/docs/using-wordpress/installing-wordpress-plugins/#installing-mu-plugins](https://wpmudev.com/docs/using-wordpress/installing-wordpress-plugins/#installing-mu-plugins)):
 *     ```
       <?php
       add_action( 'wp_ajax_forminator_save_builder', function(){
       	add_filter( 'sanitize_text_field', function( $filtered, $str ){
       		return wp_kses_post( $str );
       	}, 10, 2 );
       }, 9 );
       ```
   
 * Warm regards,
    Dimitris
 *  Thread Starter [mrbleuu](https://wordpress.org/support/users/mrbleuu/)
 * (@mrbleuu)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/radio-values/#post-14963879)
 * Thank you. That’s great!
 *  Thread Starter [mrbleuu](https://wordpress.org/support/users/mrbleuu/)
 * (@mrbleuu)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/radio-values/#post-15064007)
 * Hi, the update does not fix the problem. I need to add the muplugin above still
   to keep it working. Without the muplugin it saves the form ok, but when I submit
   the actual form the fields are all sanitised again and all HTML tags in the radio
   value field are stripped.
    -  This reply was modified 4 years, 7 months ago by [mrbleuu](https://wordpress.org/support/users/mrbleuu/).
 *  Plugin Support [Patrick – WPMU DEV Support](https://wordpress.org/support/users/wpmudevsupport12/)
 * (@wpmudevsupport12)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/radio-values/#post-15067225)
 * Hi [@mrbleuu](https://wordpress.org/support/users/mrbleuu/)
 * Could you export your form and share it using Google drive? [https://wpmudev.com/docs/wpmu-dev-plugins/forminator/#import-export](https://wpmudev.com/docs/wpmu-dev-plugins/forminator/#import-export)
 * Best Regards
    Patrick Freitas
 *  Thread Starter [mrbleuu](https://wordpress.org/support/users/mrbleuu/)
 * (@mrbleuu)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/radio-values/#post-15132824)
 * Hello,
 * TLDR: can you please enable HTML content to be hidden in radio button/check box
   values like you have in past. This is broken in 1.15.7
 * The latest version 1.15.7 totally removes the ability to hide HTML content for
   emails within radio buttons – which was working on 1.15.4 with the above muplugin
   at least.
 * I think this relates to one of these fixes:
    – Fix: Data must be Sanitised, Escaped
   and Validated – Fix: Stripping HTML tags – Fix: Sanitised Custom HTML email notifications.
 * What I am trying to do is have different options sending people different email
   content / instructions based on their radio input.
 * So if say a question is “What is your favourite fruit” and the options are apples,
   mangos, pears, banana. When the person selects banana I want the confirmation
   email sent to the user to have a paragraph specific to bananas which I am currently
   hiding in the value of the bananana radio button (e.g. <b>bananas</b> are delicious).
 * The other way to do this is to use custom conditions for each email, but this
   makes the process highly inefficient as through a form there might 3 questions
   with multiple options and so I will need to create multiple email combinations(
   bananas AND male AND ice cream, banananas AND female and ice cream, banananas
   AND male AND chocolate brownie, banananas AND female AND chocolate brownies).
   THen if I need to edit the content for, say bananas then I have to edit in multiple
   versions.
 * I hope that makes sense.
 *  Plugin Support [Imran – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support9/)
 * (@wpmudev-support9)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/radio-values/#post-15140913)
 * Hello [@mrbleuu](https://wordpress.org/support/users/mrbleuu/) !
 * Hope you’re having a good day!
 * Just a quick update to let you know that I’ve just tasked an improvement of this
   for our Forminator team. Please keep an eye on the updates to this in one of 
   the upcoming versions.
 * Warm regards,
    Pawel
 *  Thread Starter [mrbleuu](https://wordpress.org/support/users/mrbleuu/)
 * (@mrbleuu)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/radio-values/#post-15140949)
 * Thank you very much. This is really important for me and I would otherwise have
   to look at other WordPress form options. The alternative method I suggested above
   is too clunky/inefficient for my use
 *  Thread Starter [mrbleuu](https://wordpress.org/support/users/mrbleuu/)
 * (@mrbleuu)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/radio-values/#post-15154877)
 * Seems this is a broader issue
 * This is also affecting any TinyCME formatted content rendering the plugin useless.
   If you look at the emails sent, it strips all formatting done in the Textbox 
   by TinyCME and only sends as plain text with no formatting (lists etc are all
   lost)
 *  Plugin Support [Patrick – WPMU DEV Support](https://wordpress.org/support/users/wpmudevsupport12/)
 * (@wpmudevsupport12)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/radio-values/#post-15155608)
 * Hi [@mrbleuu](https://wordpress.org/support/users/mrbleuu/)
 * I was able to replicate it on TinyCME and we reported it to our Developers too.
 * Best Regards
    Patrick Freitas
 *  Thread Starter [mrbleuu](https://wordpress.org/support/users/mrbleuu/)
 * (@mrbleuu)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/radio-values/#post-15163884)
 * Thanks – looking forward to a solution. I am in no rush as using 1.15.4 anyway
   due to the original HTML tag stripping issues.
 *  Plugin Support [Dimitris – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support6/)
 * (@wpmudev-support6)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/radio-values/#post-15176497)
 * Hello [@mrbleuu](https://wordpress.org/support/users/mrbleuu/)
 * Did this workaround work for you? Please advise!
    [https://wordpress.org/support/topic/forminator-doesnt-format-rich-text-editor-form-submissions/#post-15169632](https://wordpress.org/support/topic/forminator-doesnt-format-rich-text-editor-form-submissions/#post-15169632)
 * Thank you,
    Dimitris
 *  Thread Starter [mrbleuu](https://wordpress.org/support/users/mrbleuu/)
 * (@mrbleuu)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/radio-values/#post-15177121)
 * It did not. The submissions are still stripped off any formatting. I believe 
   this is related to the changes you made of stripping html tags in .7 – I think
   it is the same issue which I raised in a different way in this thread originally.
 * Your fix above with muplugin adresses the problem mentioned here [https://wordpress.org/support/topic/tiny-mce-error-message-on-form/](https://wordpress.org/support/topic/tiny-mce-error-message-on-form/)

Viewing 15 replies - 1 through 15 (of 17 total)

1 [2](https://wordpress.org/support/topic/radio-values/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/radio-values/page/2/?output_format=md)

The topic ‘Radio values’ is closed to new replies.

 * ![](https://ps.w.org/forminator/assets/icon-256x256.gif?rev=3443182)
 * [Forminator Forms – Contact Form, Payment Form & Custom Form Builder](https://wordpress.org/plugins/forminator/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/forminator/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/forminator/)
 * [Active Topics](https://wordpress.org/support/plugin/forminator/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/forminator/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/forminator/reviews/)

 * 17 replies
 * 5 participants
 * Last reply from: [Patrick – WPMU DEV Support](https://wordpress.org/support/users/wpmudevsupport12/)
 * Last activity: [4 years, 5 months ago](https://wordpress.org/support/topic/radio-values/page/2/#post-15178333)
 * Status: resolved