Timeline for What is the cleanest way to enforce length limitations on customer's address in admin panel?
Current License: CC BY-SA 3.0
10 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Mar 13, 2018 at 8:21 | history | edited | Teja Bhagavan Kollepara | CC BY-SA 3.0 |
deleted 3 characters in body
|
Aug 9, 2016 at 1:59 | comment | added | Sparc | This works for me in the backend but unfortunately nit on the front. I did flush the java cache. We are using mag 1.9.2.4. | |
Apr 17, 2015 at 19:21 | comment | added | ReDesigned | The upside is that it works in all magento versions, frontend and backend, it won't conflict with other modules, it automatically works with third party onepage checkout modules... etc. I'd put it in its own js file that you include via xml, then it is 100% magento standards friendly, and cleaner then overriding the field render. Anyway, just another solution that is super quick and easy to implement. < 5min total dev time. | |
Apr 17, 2015 at 19:06 | comment | added | Navarr | Yes.. that... will do that. It's not the cleanest way to do it, but is a solution | |
Apr 17, 2015 at 19:03 | comment | added | ReDesigned | @Navarr - Thanks for catching that, I modified the above code so that it works on dynamically loaded elements and tested. Verified that it is working 100% now. | |
Apr 17, 2015 at 19:02 | history | edited | ReDesigned | CC BY-SA 3.0 |
added 169 characters in body
|
Apr 17, 2015 at 14:36 | comment | added | Navarr | This won't work. For example, Adding a new customer address means that these restrictions won't be added to it, since the dom elements did not exist on window load. | |
Apr 17, 2015 at 10:48 | history | edited | ReDesigned | CC BY-SA 3.0 |
added 27 characters in body
|
Apr 17, 2015 at 10:42 | history | edited | ReDesigned | CC BY-SA 3.0 |
added 176 characters in body
|
Apr 17, 2015 at 10:36 | history | answered | ReDesigned | CC BY-SA 3.0 |