Home Forums Theme Support Dokan Store settings fields required

This topic is: not resolved

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

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #65822

    Ryan
    Member
    Post count: 9

    Hi,

    I added new fields to my form using the information on this page, but would like to make them required. What file saves the settings information & returns the error? I would also like to do the same with the payment page.
    http://docs.wedevs.com/how-to-create-extra-field-in-store-setting-page/

    Thank you!

    #65907

    Nayem
    Moderator
    Post count: 6480

    Hello,

    In the input field you can add a class class="required".

    Thanks.

    #66576

    Ryan
    Member
    Post count: 9

    Hi,

    Thank you for the reply, but I actually need more control than that.
    Could you let me know which file is saving the email address in the payment tab.
    I also need to know which file is saving the store settings.
    I need to add specific validations to both which is why I need to know which files are saving those fields.

    Thanks!

    #66683

    Nayem
    Moderator
    Post count: 6480

    Hello,

    Please open Dokan plugin/classes/template-settings.php file. In this file you will get this function- function insert_settings_info()

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

The topic ‘Store settings fields required’ is closed to new replies.