Site logo

[Support request] comment form

Home Forums Support [Support request] comment form

Home Forums Support comment form

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #2526767
    Srini

    Hi
    Can you guide me to change the order of form fields and remove require to email?

    Regards
    Srini

    #2526792
    Fernando
    Customer Support

    Hi Srini,

    For reference, can you provide a link to a post on your site?

    You may use the Private Information field for this: https://docs.generatepress.com/article/using-the-premium-support-forum/#private-information

    #2526797
    Srini

    Hi Fernando,

    please check the link below.

    Regards
    Srinivas

    #2526817
    Fernando
    Customer Support

    Can you try adding this through Appearance > Customize > Additional CSS?:

    form#commentform {
        display: flex;
        flex-direction: column;
    }
    
    p.comment-form-comment {
        order: -4;
    }
    
    input#author {
        order: -3;
    }
    
    input#email {
        order: -2;
    }
    
    input#phone {
        order: -1;
    }
    #2526820
    Srini

    Thanks, it worked.
    one more issue, phone number is not storing in the data. can you suggest?

    #2526871
    Fernando
    Customer Support

    For reference, how exactly did you add that field?

    #2526966
    Srini

    I have followed this method https://www.smashingmagazine.com/2012/05/adding-custom-fields-in-wordpress-comment-form/
    but it is not storing the phone data

    #2527061
    David
    Staff
    Customer Support

    Hi there,

    unfortunately we cannot assist with that issue, the Theme has no control over that, and we can’t debug that kind of custom development problem.

    #2527111
    Srini

    Hi David,

    Let us leave that external plugin, can you guide me to add phone number field in default comment form in Generatepress theme?

    Regards
    Srini

    #2527443
    David
    Staff
    Customer Support

    The Theme has nothing to do with it.
    The Comments form and how that data is stored is a WordPress function.

    the tutorial you linked to is still valid, but you need a developer to implement that for you.
    Alternatively use a plugin in the WordPress repository eg.

    https://wordpress.org/plugins/wp-comment-fields/

Viewing 10 posts - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.