Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore Tweaks › Wp eStore – How Do I make Collect Customer Input Field REQUIRED? › Reply To: Wp eStore – How Do I make Collect Customer Input Field REQUIRED?
Hi, please open the eStore_button_display_helper.php file and search for the following line:
$var_output .= '<span class="eStore_custom_input_name">'.$ret_product->custom_input_label.': </span><input type="text" name="custom_input" value="" class="eStore_text_input eStore_collect_input" />';
Once you find it replace with the following:
$var_output .= '<span class="eStore_custom_input_name">'.$ret_product->custom_input_label.': </span><input type="text" name="custom_input" placeholder="http://www.example.com" value="" class="eStore_text_input eStore_collect_input" />';