kirkouimet / jformer Goto Github PK
View Code? Open in Web Editor NEWjFormer is a form framework written on top of jQuery that allows you to quickly generate beautiful, standards compliant forms.
Home Page: http://www.jformer.com/
jFormer is a form framework written on top of jQuery that allows you to quickly generate beautiful, standards compliant forms.
Home Page: http://www.jformer.com/
Hi, thanks for this awesome framework ....
there is a way to initialize the JFormComponentAddress ... from JFormer.php source code seems to be a problem ..
thanks in advance
Best
Sorry its not exactly an issue but can't find answer anywhere else.
How on earth do you add a cancel button! lol
Can use the HTML component but then it doesn't appear alongside the Submit button at the bottom of the form!?
Any ideas would be great. Am using the closure compiled code from the jFormer website. says 1.4.4 ;)
many thanks brian.
Since jQuery 1.9
It is only possible to view the documentation TOC - opening a subpage (like http://www.jformer.com/documentation/getting-started/) just throws errors:
Fatal error: Call to a member function build() on null in /home/jform/jformer.com/php/utility/Element.php on line 104
the documentation says that there are 3 options for the 'label' on the page navigator
http://www.jformer.com/documentation/form-features/page-navigator/
setting to title or prefixLabels gives the same result.
My modification is to just display the title if it is set to
if ($this->pageNavigator['label'] == 'title'){
$pageNavigatorLabelText = strip_tags($jFormPage->title);
} else {
$pageNavigatorLabelText = '' . $jFormPageArrayCount . ' ' . strip_tags($jFormPage->title);
}
this was added on line 1027 in the production code the equivilent line is 695 of the JFormer.php file on the project site
The register form example provided here: https://github.com/kirkouimet/jformer/blob/master/examples/register-form.php
does not work.
Line 108 should be: $registrationForm->processRequest();
Hello, I am using your login demo. When I put the code on the root of my servers directory. It works, but when I put it into a sub folder it gives me this response.
the login.php file is in ("ROOTDIR"/Login/)
then it tries to get this file
Post: "Login/Login/login.php" (404 Not Found)
For a test I tried putting into another sub dir inside Login
for e.x ("ROOTDIR"/Login/Test/)
then it tries to find when I hit the login button
Post: "Login/Test/Login/Test/login.php" (404 Not Found)
Can you give some idea of how to use this?
I am uncertain if this is the same issue posted below this, but just in case:
Instead of using the webserver path ( http://domain.com/Login.php ) it uses the full directory path ( http://domain.com/home/name/public_html/Login.php ) resulting in a 404 post. There is no documentation, and I couldn't figure it out by tracing the code. Is there something simple I am missing?
hello,
I couldnt find a forum page so i have raised my question as an issue.
I would like to make a form using jformer that is loaded from an ajax request but all of your examples are using html with embedded php. Could you give me an example or a quick explanation of how i could build a json response that i could use to construct the form on the client side, it would be for something basic like a contact form.
thanks
Alex
I spun my wheels for hours trying to get jFormer to work with the most recent version of jQuery (currently 1.11.0).
Finally it occurred to me to try to use the version of jQuery that the example code calls for (jQuery 1.5.2).
Once I used 1.5.2 it worked. Unfortunately I need a newer version of jQuery for other things on the site.
Any chance you'll update jFormer to work with the most recent version of jQuery?
Looking at the code produced by the jFormer PHP I cannot see how the form can be processed with out the inclusion of javascript. This is because unless I am missing something you cannot submit a form without javascript as the submit input is of type="button"
and not type="submit"
.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.