Hello Enfold,
I have two questions about the contact form on my website:
1. In my contact form I have multiple checkbox fiels. Is it possible to select one checkbox field by default? (So not all fields checked : https://kriesi.at/support/topic/contact-form-check-box/).
2. Is it possible to use radio buttons in the Enfold contactform?
Thanks in advance for you help.
Best regards,
Lennart
Hey lenvo,
Thank you for using Enfold.
1.) Please add this in the functions.php file:
// custom script
function add_custom_script(){
?>
<script>
(function($){
function e() {
$('#avia_2_1').attr('checked', 'checked');
}
e();
})(jQuery);
</script>
<?php
}
add_action('wp_footer', 'add_custom_script');
2.) I’m sorry but radio buttons are not available at the moment. Please request the feature here: https://kriesi.at/support/enfold-feature-requests/
Best regards,
Ismael
Thanks for the solution Ismael! :)