I have a custom hook for formit that does some file processing/uploading etc. I was wondering what the correct way to set the formit error placeholders is,
i.e.
[[!+fi.error.myformcontrol]]
I would set in my snippet using:
$this->modx->setPlaceholder(
'fi.error.myformcontrol',
$this->modx->lexicon('extdata.error_files_not_allowed_mp3')
);
Though I get the feeling that isn't quite right... what is the correct way?
*** Not just websites, we also create signage, banners, print, trade show displays and more! ***
Sean Kimball CLP, CLS.
Technical Director / Sr. Developer | BigBlock Studios
._______________________________________________.
Bigblock Studios
http://www.bigblockstudios.ca Web site design & development.
27-1300 King Street East. Box 167 Oshawa, Ontario L1H8J4 Canada.
phone/fax: 905-426-5525