custom validation on option text field

  • hassan
  • Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 1 month ago #58816 by hassan
Hi, i want to know that is there any method so that i can apply custom validation on the "options" text field . i want to collect IMEI number of mobile .i know the field option but it shows in the billing section, or how can i add my custom validation in back-end, which file i should use so that i can get the field class or add custom class for validation ...!!!! :dry: i want to use option text field on product page .

Please Log in or Create an account to join the conversation.

  • Giang Dinh Truong
  • Offline
  • Administrator
  • Administrator
More
9 years 1 month ago #58849 by Giang Dinh Truong
Replied by Giang Dinh Truong on topic custom validation on option text field
Hello Hassan,

Currently, EShop does not support the IMEI number validation rule foe custom field. To have it, you should make the customization to the custom field validation of EShop.

Sincerely, Giang

Please Log in or Create an account to join the conversation.

  • hassan
  • Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 1 month ago #58851 by hassan
Replied by hassan on topic custom validation on option text field
how can i customize the custom field. can you give me some advice or guide me to the exact file so that i can make the customization ....!!!! it will be very helpful....!!! :)

Please Log in or Create an account to join the conversation.

  • Giang Dinh Truong
  • Offline
  • Administrator
  • Administrator
More
9 years 1 month ago #58946 by Giang Dinh Truong
Replied by Giang Dinh Truong on topic custom validation on option text field
Hi Hassan,
It's hard to guide you what you must do exactly here. However, you can check how I coded for default custom fields and default rules to understand how it works, then add the code by your self.
Sincerely, Giang

Please Log in or Create an account to join the conversation.

Moderators: Giang Dinh Truong