Closed GoogleCodeExporter closed 9 years ago
Hi,
In theory no. On few points in code I'm caling form.valid() (in the add method)
and input.valid() in the edit method. So if you are not using validator, this
code will break. I'm using JQuery Validation plugin that has many options for
customization (see
http://bassistance.de/jquery-plugins/jquery-plugin-validation) and I believe
that you can implement lot of custom validation rules using this plugin.
Therefore I have not created any customizable option to switch on/off plugin
and replace it with something else. If you find some other validation plugin
that has some feature that cannot be implement in this one I might consider
creating a modular validation.
However if you implement your own validation plugin if it attaches valid()
methods to the forms and inputs it might work even if it is not a standard
bassistance validation plugin.
Regards,
Jovan
Original comment by joc...@gmail.com
on 6 Jun 2011 at 8:33
Ah, ok, I wasn't aware of what plugin was used. What version of that plugin is
used? I'm guessing 1.8.1?
Original comment by dmol...@gmail.com
on 7 Jun 2011 at 12:41
In your example documentation, you have shown how to validate in-line editing
of cells, but I'm looking to validate the popup form for the addition of new
entries. Can you give an example of how that would be done?
Original comment by dmol...@gmail.com
on 7 Jun 2011 at 2:36
You can see example on the
http://jquery-datatables-editable.googlecode.com/svn/trunk/addingrecords.html.
Just add validation classes on the form elements and plugin will call validate
method before form is posted.
Original comment by joc...@gmail.com
on 10 Jun 2011 at 11:48
i've actually got it working. once i get the complete app finished, i will post
a link here. it uses jquery, jquery ui, datatables, datatables editable, and
the validation plugin with lots of ajax.
Original comment by dmol...@gmail.com
on 11 Jun 2011 at 12:22
this can be closed, no action is required on your part. when i finish my
application, i will send you a link to a demo version of it that you can
highlight here.
Original comment by dmol...@gmail.com
on 12 Jun 2011 at 1:26
Thanks, I'm closing this issue.
Regars,
Jovan
Original comment by joc...@gmail.com
on 12 Jun 2011 at 9:48
Original issue reported on code.google.com by
dmol...@gmail.com
on 6 Jun 2011 at 6:36