Copyright © 2009-2010 Marc Worrell
Authors: Marc Worrell (marc@worrell.nl).
get_q/2 | Simple utility function to get the 'q' value of an argument. |
rename_args/1 | Rename validator arguments to names that are compatible with the LiveValidation plugin. |
report_errors/2 | Add all errors as javascript message to the request result. |
validate_query_args/1 | Checks for z_v arguments, performs enclosed checks and adds the validated terms to the q_validated list. |
get_q(Name, Context) -> any()
Simple utility function to get the 'q' value of an argument. When the argument has a generated unique prefix then the prefix is stripped.
rename_args(Args::PropList) -> PropList1
Rename validator arguments to names that are compatible with the LiveValidation plugin.
report_errors(T, Context) -> any()
Add all errors as javascript message to the request result.
validate_query_args(Context) -> {ok, NewContext} | {error, NewContext}
Checks for z_v arguments, performs enclosed checks and adds the validated terms to the q_validated list. Errors are reported back to the user agent
Generated by EDoc