I am just starting to look into this and my thoughts are not all that clear, but I'll try to be as specific as possible.
Given:
1)A function can be called which will NOT reload a page
2)A function can run any CFML tag
If 1 & 2 are true, then if
3)A called function can reference elements as named within <cfform> and/or <form> tags
If all of the above is true, one can then theorize that instead of submitting form to an action page, a good alternative might be calling a function which will do same a action page with the BENEFIT of not giving users the ability to BACK into already submitted pages. In addition, if one could run other commands after calling UDF (submit function) you can route user to clean page according to whatever applies at that time.
Your expertise and creative genius are more than welcome, as well as, your criticism on this concept.
Thank you all in advance;
Jose Lerebours
If you have the knowledge, consult and educate those who need it! - Jose Lerebours
Given:
1)A function can be called which will NOT reload a page
2)A function can run any CFML tag
If 1 & 2 are true, then if
3)A called function can reference elements as named within <cfform> and/or <form> tags
If all of the above is true, one can then theorize that instead of submitting form to an action page, a good alternative might be calling a function which will do same a action page with the BENEFIT of not giving users the ability to BACK into already submitted pages. In addition, if one could run other commands after calling UDF (submit function) you can route user to clean page according to whatever applies at that time.
Your expertise and creative genius are more than welcome, as well as, your criticism on this concept.
Thank you all in advance;
Jose Lerebours
If you have the knowledge, consult and educate those who need it! - Jose Lerebours