Remove placeholder Divi contact form Questions › Remove placeholder Divi contact form 0 Vote Up Vote Down Elvis asked 4 years ago Hi, may I ask how to remove the placeholder inside the input field completely? Twitter Facebook Abhishek replied 4 years ago Hi Elvis, Please try using following code to Divi >> Theme Options >> Integration >> “Add code to the of your blog” Please add the given code between script tags. jQuery(document).ready(function(){ jQuery("input#et_pb_contact_name_1.input").attr('value', ' '); jQuery("input#et_pb_contact_email_1.input").attr('value', ' '); jQuery("textarea#et_pb_contact_message_1.et_pb_contact_message.input").text(' '); }); Leon Palmer replied 4 years ago This works but seems to break the “required fields” option. Any suggestions? 1 Answers 0 Vote Up Vote Down dsdscvdsvsv answered 1 year ago xzczkchjkhxzkcjnz djkshckjhjcjzguik Twitter Facebook Your Answer 5 + 4 = Your Email Your Name Public Only Me & Admin
Hi Elvis,
Please try using following code to Divi >> Theme Options >> Integration >> “Add code to the of your blog”
Please add the given code between script tags.
jQuery(document).ready(function(){
jQuery("input#et_pb_contact_name_1.input").attr('value', ' ');
jQuery("input#et_pb_contact_email_1.input").attr('value', ' ');
jQuery("textarea#et_pb_contact_message_1.et_pb_contact_message.input").text(' ');
});
This works but seems to break the “required fields” option.
Any suggestions?