• Resolved roki9999

    (@roki9999)


    Hi,

    I have two queries :

    Date Picker Rules at Submissions
    The rules available for date picker are great. Just that, if i limit the dates, i can still edit the text-field even if picker does not allow me to do so. Can we do something about that?

    Custom File Validation
    I need to process some custom validation on files to allow/disallow submission. I intent to validate number of columns and number of rows in an excel files. And to know the length of audio mp3 files. I would have limits in both the cases Where exactly should such validation code be written in the plugin ?
    Please let me know if any of your methods would be handy to throw errors or pass the submission in pass/fail case of validation. Any of your suggestions would be helpful. Thanks

    I did not want to bombard you with many threads so i posted both questions here. Let me know if i should not do this.

    Thanks you for such an awesome plugin.

Viewing 1 replies (of 1 total)
  • Plugin Contributor sarkparanjothi

    (@sarkparanjothi)

    Hi @roki9999,
    You can do you costume validation in plugin/wc-fields-factory/includes/wcff-validator.php and find ‘validate_product_fields’ method for product field or find ‘validate_admin_fields’ method for admin field you can inject your costume validation here.

    Thanks

Viewing 1 replies (of 1 total)
  • The topic ‘Date Picker Rule at Submission & Custom File Validation.’ is closed to new replies.