Client-Side Validation
Client-Side Validation
nuage888
Posts: 2Questions: 1Answers: 0
Before buying commercial licence, I try the free trial version of Datatable Editor.
When i use the client-Side validation example : https://editor.datatables.net/examples/api/clientValidation.html It's work.
But when i download the trial version on my computer, i have got a message when i want to create or edit an element :' A problem has occured...'
I use IE9.
waiting for your reply,
Nicolas
This discussion has been closed.
Answers
When i used the web developper.
I've got this message in my console :
<b>Warning</b>: call_user_func() expects parameter 1 to be a valid callback, class '\DataTables\Editor\Validate' not found in <b>C:\xampp\htdocs\anat2\Editor-PHP-1.5.5\php\lib\Editor\Field.php</b> on line <b>720</b><br />
Hi Nicolas,
Can you show me the PHP that you are using please? Just the file where you define the
Editor:inst()
should do.Allan
Hi Allan
Thank you for your quick replay,
I use PHP 5.3.0
Can you update your PHP install please? There were a number of namespace bugs in the early 5.3 releases. I think 5.3.6 or .7 was when it started working reliably.
5.3.33 is the latest version of the 5.3 series if you can't update to 5.4 or later (7.0) is the current release.
Allan
On my server,
I use php 5.3.23, is it ok with this version ?
Moreover, the datatable doesn't show on IE9.
The problem results of the php version ?
Nicolas
Yes, Editor is fully compatible with that version of PHP.
The PHP version will have no effect on the IE9 compatibility of the software. If you are having problems with it, the first thing I would suggest is to take a look at the browser's developer console to see if any errors are reported. Failing that, please link to a test case showing the issue.
Allan
On IE, the debugger :
Line: 6
Erreur : Bootstrap's JavaScript requires jQuery
Line: 58
Erreur : L’objet ne gère pas la propriété ou la méthode « superbox »
I purchase the licence but I need datatable on IE and Firefox ...
Sounds like you might be loading the Bootstrap JS before jQuery. Is that correct?
I'm happy to have a look at it if you could give me a link to the page please.
Allan
Thanks Allan,
I test the datatable with my project and i share it with you.
I have got many questions... ^^
Your application is very interesting !