jFormer DocumentationSupport

Submit a Bug Report

Next Section: About jFormer

17 comments (add a comment)

Thomas on 2011-05-10 05:41:59

Tried this script on nginx/php server. Gives this error straight away:

parent.contactFormObject.handleFormSubmissionResponse({“status”:”success”,”response”:{“failureNoticeHtml”:”Your request (0M) was too large for the server to handle. 8M is the maximum request size.”}});

Dave Brong on 2011-06-06 08:02:50

Here's a list of bugs and patches I've found in version 1.0.1

jformer.js:

Internet Explorer doesn't validate dates with months 08 or 09. This is because parseInt needs a ,10 value to it. So, search for "you must enter a valid month" and go up to find the parseInt(b.value.day) and change to parseInt(b.value.day,10) and then to fix the month change it to parseInt(b.value.month,10)

Email addresses don't validate the -, because it's not escaped in the regex.
Search for /^[A-Z0-9._%-\ ] @(?:[A-Z0-9\-] \.) [A-Z]{2,4}$/i and add \ before the - in the first part (_%\-\ )

In jformer.php

function setData($data, $fileArray = array())...

Change the beginning to $jFormerData = json_decode(rawurldecode($data));

Changing the urldecode to rawurldecode to handle characters in urls.

Also, this last edit may not be necessary. I changed /empty.html on the form submit to just be blank so it could be configured on the calling page.

Dave Brong on 2011-06-06 08:03:16

Here's a list of bugs and patches I've found in version 1.0.1

jformer.js:

Internet Explorer doesn't validate dates with months 08 or 09. This is because parseInt needs a ,10 value to it. So, search for "you must enter a valid month" and go up to find the parseInt(b.value.day) and change to parseInt(b.value.day,10) and then to fix the month change it to parseInt(b.value.month,10)

Email addresses don't validate the -, because it's not escaped in the regex.
Search for /^[A-Z0-9._%-\ ] @(?:[A-Z0-9\-] \.) [A-Z]{2,4}$/i and add \ before the - in the first part (_%\-\ )

In jformer.php

function setData($data, $fileArray = array())...

Change the beginning to $jFormerData = json_decode(rawurldecode($data));

Changing the urldecode to rawurldecode to handle characters in urls.

Also, this last edit may not be necessary. I changed /empty.html on the form submit to just be blank so it could be configured on the calling page.

Dave Brong on 2011-06-06 08:04:24

Well, another bug (possibly with the contents of my post above) is that the processing on this page didn't redirect.

Rob on 2011-06-21 13:58:14

Can't seem to get the attribute 'showSubLabels' => false to work. The form still generates the subLabel value. Tried with Name and Address components. I'm using this with 'emptyValues' => true so there is redundant labels. Is this a known issue? Workaround?

Rob on 2011-06-21 13:58:22

Can't seem to get the attribute 'showSubLabels' => false to work. The form still generates the subLabel value. Tried with Name and Address components. I'm using this with 'emptyValues' => true so there is redundant labels. Is this a known issue? Workaround?

kszys on 2011-06-23 14:39:08

I tried to create a simple form with jFormer... It enters processing state and never returns a result... Any suggestions?

John on 2011-07-07 17:07:46

This product doesn't have adequate documentation. Jquery effects do not run. This product is probably abandon-ware.

brandt on 2011-07-14 13:54:38

I'm getting this in Firebug on load of the demo contact form.

this.tipTarget.simpletip is not a function
https://ravens.mtbaker.us/assets/jformer/jFormer.js
Line 186

Any ideas?

purohit on 2011-07-19 02:29:17

I tried to install jformer in localhot but its return an error to web browser link this :

parent.contactFormObject.handleFormSubmissionResponse({“status”:”success”,”response”:{“failureNoticeHtml”:”Your request (0M) was too large for the server to handle. 8M is the maximum request size.”}});


any one can help me :: thanks of ton

LAGRANGE on 2011-07-21 06:41:53

The input file don't works with the google chrome browser !

Dave Brong on 2011-08-18 10:33:54

maxValue validation doesn't correctly process. You need to parseFloat the values first, otherwise they don't always compare properly.

'maxValue': function(options) {
var errorMessageArray = ['Must be numeric with a maximum value of ' options.maxValue '.'];
return (parseFloat(options.value) <= parseFloat(options.maxValue)) ? 'success' : errorMessageArray;
},

hello on 2011-08-24 15:50:14

I tried to create a simple form with jFormer... It enters processing state and never returns a result... Any suggestions?

chris on 2011-10-07 11:53:45

Also getting the 0M error.

Francesco Dimech on 2011-12-23 16:16:55

The E-mail validation did not work well for me, even after the / after the % did not fix it.

I used the following string instead:
/^([A-Za-z0-9_\-\.]) \@([A-Za-z0-9_\-\.]) \.([A-Za-z]{2,4})$/i

It works perfectly for:
email-test@test.com

Francesco Dimech on 2011-12-23 16:24:52

The E-mail validation did not work well for me, even after the / after the % did not fix it.

I used the following string instead:
/^([A-Za-z0-9_\-\.]) \@([A-Za-z0-9_\-\.]) \.([A-Za-z]{2,4})$/i

It works perfectly for:
email-test@test.com

P.S. You have to update the jformer.php file and search for e-mail. Change the match to:
/^[A-Z0-9._%\-\ ] @(?:[A-Z0-9\-] \.) [A-Z]{2,4}$/i

for it to work

micaell on 2012-01-17 00:12:19

Redirect and status do not work in Opera:
Version information
version:
11.60
assembly:
1185
platform:
Mac OS X
system:
10.6.8
Browser identification:

Opera/9.80 (Macintosh; Intel Mac OS X 10.6.8; U; ru) Presto/2.10.229 Version/11.60