Home Forums Theme Support Dokan Dokan Add terms and condition field in registration form

This topic is: not resolved

This topic contains 5 replies, has 3 voices, and was last updated by  Nayem 3 years, 10 months ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #40043

    Kris
    Member
    Post count: 3

    I tried adding this http://docs.wedevs.com/add-more-fields-dokan-registration-form/
    but after I uploaded to my site I am getting this error.

    Parse error: syntax error, unexpected ‘<' in /home/content/17/11771017/html/wp-content/plugins/dokan/includes/template-tags.php on line 385 Also how can I set the seller address and phone number as non required fields?

    #40046

    Kris
    Member
    Post count: 3

    I figured it out was pasting it on line 385, but it was on line 477 for me… just pasted it below the last required field. Also removed required fields for address and phone number.

    #40048

    Kris
    Member
    Post count: 3

    well when I removed the required fields it was still giving Error: Please enter your address. I tried deleting all the address and phone code. It would not display on the form which was good, but I would still get Error: Please enter your address. Even when the code was gone?

    How would you set the Address and Phone as non required or even optional? It seems pointless to have when the user can just go to settings after and delete the information after signing up. Plus most people don't want their personal information available.

    #40073

    Nayem
    Moderator
    Post count: 6480

    Hello Kirs,

    I have to discuss with our developer about this. It is now holiday here and they will be available from sunday. Please knock me here at Sunday. I will help you to do this.

    Thank you ๐Ÿ™‚

    #40138

    Brenda
    Participant
    Post count: 170

    If it is a seller (not buyer) getting their contact info is prudent for you to do. Unless perhaps you are setting up a trade site (free) that doesn't require transfer of money.

    #40229

    Nayem
    Moderator
    Post count: 6480

    Hello Kris,

    If you want to make a field non required then from the filed you have to remove the required class. Like as- <label for="seller-address"><?php _e( 'Address', 'dokan' ); ?><span class="required">*</span></label> you have to write this code as –<label for="seller-address"><?php _e( 'Address', 'dokan' ); ?>*</span></label>

    Thank you ๐Ÿ™‚

Viewing 6 posts - 1 through 6 (of 6 total)

The topic ‘Dokan Add terms and condition field in registration form’ is closed to new replies.