Remove placeholder Divi contact form

QuestionsRemove placeholder Divi contact form
Elvis asked 3 years ago

Hi, may I ask how to remove the placeholder inside the input field completely?

Abhishek replied 3 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 2 years ago

This works but seems to break the “required fields” option.
Any suggestions?

1 Answers
dsdscvdsvsv answered 4 months ago

xzczkchjkhxzkcjnz djkshckjhjcjzguik

Your Answer

12 + 17 =

Subscribe To Our Newsletter For More Tips & Tricks on Elegant Themes

Subscribe To Our Newsletter For More Tips & Tricks on Elegant Themes

You have Successfully Subscribed!

Share This