Store settings fields required

This topic contains 3 reply and 2 voices, and was last updated by Nayem 9 years, 3 months ago
Viewing 3 Posts - 1 through 3 (of 3 total)
Author Posts
August 7, 2015 at 9:38 am 65822
Nayem 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!
August 8, 2015 at 10:52 am 65907
Nayem Nayem

Hello,

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

Thanks.

August 11, 2015 at 8:00 pm 66576
Ryan Ryan

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!

August 12, 2015 at 2:34 pm 66683
Nayem Nayem

Hello,

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

Viewing 3 Posts - 1 through 3 (of 3 total)