im new in formavalidation.
i am wondering if there is some library class you can download and include and then use for formvalidation in php and also in javascript/jquery?
it would save a lot of time so you dont have to reinvent the wheel.
thanks a lot in advance!
I like using Zend_Form for form validation, but it does not integrate with jQuery AFAIK.
EDIT: the folllowing SO question may be what you are looking for : Zend Framework form with jquery
Related
I'm trying to make a form builder. I'm using SpringMVC.
I found this good form builder written in jQuery and PHP. Jquery Formbuilder
It converts an existing form(in DB) into JSON/XML and then passes it on for displaying. How can I achieve that in Spring? Is there a way I can reuse this plugin? Or use the PHP code inside Java directly?
Or is there a simpler way? Is there a similar plugin in Java?
Please guide.
You can use PHP code in Java with Quercus but it seems like a sledgehammer to crack a nut. Perhaps a simpler approach would be a PHP front end, populated by calls to a Java back-end
can we draw graph with zend framework. I so, how to do data thing ? Is there some online resource to get familiar with it.
Thanks
I'm not sure about Zend Framework, but I seriously recommend Google Chart Tools API. It's easy to use and customize and is pretty powerful!
Edit: When I last used it, I generated the data using plain old PHP by looking at a javascript example and spotting the pattern, then just having php echo's everywhere I need them.
For creating graphs use http://thejit.org/
It will take some brain power, but I would recommend looking into Dojo simply because Zend has some built view helpers for dojo. At the end of the day, your going to have to integrate what ever solution your pick yourself.
I have a HTML/PHP form using using post to send form data to a script php file. I want to send the data with out the page reloading upon clicking the submit button.
I am wondering how do implement AJAX to allow this functionality.
I have a good grasp of Javascript but have never used ajax technology.
If this question is beyond the scope of this Q&A if anyone could please point me in the right direction to a good tutorial That will allow me to implement this technology with out having to spend a couple of days learning how it all works. I am working with a very short deadline.
Cheers.
If this is your first AJAX experience, I recommend a good toolkit like jQuery.
See: http://api.jquery.com/jQuery.ajax/
you can serialize and then post form data with jquery and optionally handle the response.
the following is an example from jquery's documentation http://api.jquery.com/jQuery.post/:
$.post("test.php", $("#testform").serialize());
You could use this jQuery plugin:
http://www.matiasmancini.com.ar/jquery-plugin-ajax-form-validation-html5.html
It also has form validation and works on IE6.
basically, you can do no wrong by using jquery javascript library with all the cool nifty functions ready, including ajax function which allows you to do ajax call with something as simple as $.post().
but if you're looking for a step by step tutorial, then you might want to look at this.
I am Using zend Framework-1.7.2. when I am Updating Account Information of logged in user that time I am using jquery validations. But the script is not working.
How to use it? Please, anyone can help me ?
I am not using Zend Jquery Plugin. I am using seperate Jquery script like we are including and using in any simple php project.
If you are using Zfdebug, or somehow included twice the Jquery script, you may have problems from that. I had theese kind of problems.
My knowledge of php is not good and I need help.
I have this php form but I don't know how to add a CAPTCHA mechanism.
How do I achieve this?
I really like Securimage is seems to work really well and does not require a third-party external service or javascript (unless you enable the new image feature). Also it can be configured to provide audio captcha for accessibility.
Check this detailed guide about captcha implementation in PHP: http://www.the-art-of-web.com/php/captcha/