is ccmValidateBlockForm still working ?
Permalink
I am having some hard time to figure out, but it seems that ccmValidateBlockForm is gone too, the only remaining I found in the 5.7 code seems to be legacy code (that needs update), and nowhere else in the core …
What is the new way to call some js on block edit/add form submit event?
What is the new way to call some js on block edit/add form submit event?
I just checked the form block shipped with the core, that should embbed some form validation, but it seems that one is broken too …
Should I open a github issue here ?
Should I open a github issue here ?
added a github issuehttps://github.com/concrete5/concrete5-5.7.0/issues/1687...
Are there any updates on the ccmValidateBlockForm replacements?
Not yet, but we have an open issue on it that could use some discussion:
https://github.com/concrete5/concrete5-5.7.0/issues/1099#issuecommen...
https://github.com/concrete5/concrete5-5.7.0/issues/1099#issuecommen...
but with this way, the old ccm_addError logic does not work any more (or more likely you'll have to handle the message show yourself ...).
any better way ?