Hi, is there the possibility to add multiple validation steps? like: Field::inst( 'meeting_id' ), ->validator( 'Validate::notEmpty' ) ->validator( 'Validate::numeric' ),
Seems not correct in this way.
How to achieve this?
Thank you
In Editor 1.3 you would use:
->validator( 'Validate::numeric', array( empty: false ) )
See the PHP validation manual page for information on the validation options.
In Editor 1.4 you will be able to chain validation methods.
Allan
Is there am easy way to verify which version i have?
On the console $.fn.dataTable.Editor.version;. That assumes that you update the PHP libraries at the same time as your client-side libraries :-).
$.fn.dataTable.Editor.version;
Editor 1.4 should be at the start of next month. 1.3.3 is the current release.
ok thank you
It looks like you're new here. If you want to get involved, click one of these buttons!
Replies
In Editor 1.3 you would use:
See the PHP validation manual page for information on the validation options.
In Editor 1.4 you will be able to chain validation methods.
Allan
Is there am easy way to verify which version i have?
On the console
$.fn.dataTable.Editor.version;
. That assumes that you update the PHP libraries at the same time as your client-side libraries :-).Editor 1.4 should be at the start of next month. 1.3.3 is the current release.
Allan
ok
thank you