Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

Check Mark On Form Fields Rate Topic   - - - - -

 
  • Aletro
  • Senior Member
  • Members
  • Join Date: 05-Dec 14
  • 215 posts

Posted 20 January 2019 - 03:16 PM #1

Hi,

would like to have something like this: https://codepen.io/f...igns/pen/wMjYOm

Green Check mark when field is filled properly

and

red X mark when field is not filled properly.

Thanks


www.shankara.it | cs-cart v. 3.0.2

 
  • tbirnseth
  • CS Cart Expert
  • Authorized Reseller
  • Join Date: 08-Nov 08
  • 11265 posts

Posted 20 January 2019 - 05:23 PM #2

In cs-cart, the "properly" portion of your statement isn't done until form submission.  Form fields have a micro-class that will validate the field when the form is submitted and either allow the submission to continue or put up an error message, outline the field is red and take the user back to that element.

 

To change that to validate immediately after it is entered would require you to develop the JS code (like in your codepen) for every field ID where you want to do that validation.  And for those that don't require validation, only that they have value.

 

It would be a time consuming task to do, but is quite doable.  However, given this is front-end dependent, and may require minor adjustments at nearly every cs-cart release.

 

If it's one form or a specific type of form  field, then cost would be reduced significantly.

 

Feel free to contact me via the link in my signature with your specific requirements and I'll be happy to give you a quote.


EZ Merchant Solutions: Custom (USA based) B2B Development, Consulting, Development and Special Projects (get a quote here).
Commercial addons, payment methods and modifications to meet your business and operations needs.


 
  • Aletro
  • Senior Member
  • Members
  • Join Date: 05-Dec 14
  • 215 posts

Posted 25 January 2019 - 07:39 AM #3

Wrote you


www.shankara.it | cs-cart v. 3.0.2