Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • #719156

    Ahoy,

    I would like to have mandatory fields but do not want the asterisk, how do I make them hidden?

    #719164

    if you have not marked the field: “Hide Form Labels” it is simple:

    abbr.required {
        display: none;
    }

    but if so i have to look deeper in code.

    #719186

    on class-form-generator.php there is this required set in two different ways – the one by an extra element with class required for the case of not hiding labels.
    the second is to set a string $extra="*" this is set 4times and if you like to change you can insert for example $extra=" "
    maybe there is a fast way over functions.php of the child-theme to set a variable globaly to a value

    #719551

    That quick CSS does not work

    please advise

    #720383

    Hi,

    As I wrote in your other thread; your site might have been compromised.

    Best regards,
    Rikard

    #720635

    Here is the updated site

    #720646

    Hi!

    Please go to enfold/framework/php/class-form-generator.php file and replace its content with this one – http://pastebin.com/SdiZ8kGd

    Cheers!
    Yigit

    #720775

    Thanks Yigit,

    How do I add that if I have a child theme?

    #720792

    Hi,

    Please copy unmodified enfold/framework/php/class-form-generator.php file and paste it inside enfold-child folder and find following at the top and remove it (please do not remove PHP opening tag)

    if (  ! defined( 'AVIA_FW' ) ) exit( 'No direct script access allowed' );

    and then add following code to Functions.php file of your child theme

    require( 'class-form-generator.php' );

    Best regards,
    Yigit

    #1034067

    Hi guys,
    I actually would like to have a NON mandatory field, hence without the *.

    How can I do that?

    Thanks,
    Marco

    #1035022

    Hi,

    Set the form element’s “Form Element Validation” settings to “No Validation”.

    Best regards,
    Ismael

    #1035139

    Hi Ismael,
    I am using the default editor, hence I do not see any graphic, I only see short codes.
    Example:

    This is the field I would need to have not mandatory

    [av_contact_field label='Message' type='textarea' check='is_empty' options='' multi_select='' av_contact_preselect='' width='' av_uid='av-h5d55n'][/av_contact_field]
    [/av_contact]

    Thanks,
    Marco

    #1035451

    Hi,

    Remove the “check” parameter or adjust it from:

     check='is_empty'
    

    to:

    check='' 
    

    Best regards,
    Ismael

    #1036370

    Amazing thank you so much Ismael

    #1036464

    Hi,

    Awesome! Glad we could help!

    Please take a moment to review our theme and show your support https://themeforest.net/downloads
    Don’t forget to bookmark Enfold Documentation for future reference.

    Thank you for using Enfold :)

    Best regards,
    Ismael

Viewing 15 posts - 1 through 15 (of 15 total)
  • The topic ‘Remove validation asterisk from contact form element’ is closed to new replies.