Magento Expert Forum - Improve your Magento experience

Results 1 to 2 of 2

How to Add Validation in System Configuration in Magento 2

  1. #1
    Junior Member
    Join Date
    Aug 2022
    Posts
    64
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default How to Add Validation in System Configuration in Magento 2

    Magento 2 is an adaptable stage that permits stretching out its usefulness to fulfill the business prerequisites. Information approval is one such vital part that should be carried out for an E-trade stores.

    Name:  How-to-Add-Validation-in-System-Configuration-in-Magento-2-Social-Share.png
Views: 823
Size:  24.2 KB

    Frontend, however you may likewise need to add approval in framework arrangement in Magento 2. For instance, approve the Email, check for the clear field, and so on.

    Utilizing the beneath arrangement, you can approve any sort of info fields in the Magento 2 stores design, for example, text field, date, drop-down, and so on.

    For mor info: https://meetanshi.com/blog/add-valid...-in-magento-2/

    View more threads in the same category:


  2. #2
    Junior Member
    Join Date
    Sep 2018
    Location
    Oman, Muscat
    Posts
    2,084
    Thanks
    0
    Thanked 4 Times in 4 Posts

    Default

    It is extremely straightforward. You simply have to add "approve" tag for field in system.xml record and pass approval class between approve tag.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •