Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #753773

    Hello,

    i want to hide or to remove the asterisk (*) that shows at the end of placeholder input field. That star shows because the field is required.

    Thank you

    #754836

    Hey Designweb,

    I can’t see an asterisk at the end of any of the fields, I’m guessing you managed to get it working yourself?

    Best regards,
    Rikard

    #754948

    Hello,

    at the end of the page CONTACT US – SUBSCRIBE in the input field with light grey color text Name@…..*

    Because the field has light grey text you don’t see the placeholder text. The asterisk (*) is at the end of placeholder text.

    Thank you

    #756912

    Hello,

    Do you have any idea?

    #757329

    Hi,

    Try to add this code at the bottom of functions.php:

    function remove_asterisk_script(){
    ?>
    <script type="text/javascript">
    (function($){
    	function remove_asterisk() {
    		jQuery('.page-id-340 #after_section_1 .avia_ajax_form #avia_0_2').attr('placeholder', 'N (Email address hidden if logged out) ');
    	}
    
    	remove_asterisk();
    })(jQuery);
    </script>
    <?php 
    }
    add_action('wp_footer', 'remove_asterisk_script');
    

    Let us know if this helps.

    Best regards,
    Nikko

    #757696

    Hello.

    That’s worked fine.

    Thank you very much Nikko.

    #758389

    Hi,

    Great, glad we could help. Please open a new thread if you should have any further questions or problems.

    Best regards,
    Rikard

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘Content element Mailchimp Signup hide or remove asterisk (*) from required field’ is closed to new replies.