-
☆ A M B ☆
- 209 Posts
I've been reading through the code but can't find where/how data submitted via the manager is validated on the server-side before being saved. I know ExtJS handles the validation normally, but is checking also done server-side? I haven't tracked down a form validation lib so mighty curious!
Thanks
-
☆ A M B ☆
- 3,112 Posts
core/model/modx/modrequest.class.php
there is sanitizeRequest()
Rico
Genius is one percent inspiration and ninety-nine percent perspiration.
Thomas A. Edison
MODx is great, but knowing how to use it well makes it perfect!
www.virtudraft.com
Security, security, security! |
Indonesian MODx Forum |
MODx Revo's cheatsheets |
MODx Evo's cheatsheets
Author of
Easy 2 Gallery 1.4.x,
PHPTidy,
spieFeed,
FileDownload R,
Upload To Users CMP,
Inherit Template TV,
LexRating,
ExerPlan,
Lingua,
virtuNewsletter,
Grid Class Key,
SmartTag,
prevNext
Maintainter/contributor of
Babel
Because it's hard to follow all topics on the forum, PING ME ON TWITTER
@_goldsky if you need my help.
-
☆ A M B ☆
- 209 Posts
Thanks goldsky but I was meaning data validation e.g. "This is an email address", "This is 4 digits" etc
-
☆ A M B ☆
- 3,112 Posts
AFAIK, there is none for manager.
FormIt has it inside its own class.
Rico
Genius is one percent inspiration and ninety-nine percent perspiration.
Thomas A. Edison
MODx is great, but knowing how to use it well makes it perfect!
www.virtudraft.com
Security, security, security! |
Indonesian MODx Forum |
MODx Revo's cheatsheets |
MODx Evo's cheatsheets
Author of
Easy 2 Gallery 1.4.x,
PHPTidy,
spieFeed,
FileDownload R,
Upload To Users CMP,
Inherit Template TV,
LexRating,
ExerPlan,
Lingua,
virtuNewsletter,
Grid Class Key,
SmartTag,
prevNext
Maintainter/contributor of
Babel
Because it's hard to follow all topics on the forum, PING ME ON TWITTER
@_goldsky if you need my help.
-
☆ A M B ☆
- 24,524 Posts
Check out core/model/modx/processors/security/user/_validation.php