cakephp - How can I persist a form if I am using an API to validate the data? -


normally, if use cakephp's magic , validate forms "persist form" mean user wouldn't have re-input everything. also, cakephp default marks fields failed validation. question is, since sending form data api, how can still use of cakephp's magic?

i looked custom validation methods, problem have send data api @ once , i'll errors @ once (billing information).

then doing wrong. default "cake" way persist form - (or especially) after unsuccessful validation

without seeing actual code 1 cannot tell more, though. check out bake templates , how done correctly. question resolves immediately.


Comments

Popular posts from this blog

django - How can I change user group without delete record -

java - Need to add SOAP security token -

java - EclipseLink JPA Object is not a known entity type -