Issue 191 in php-form-builder-class: jquery ui already place on page in header, but the builder is trying to add it again

7 views
Skip to first unread message

php-form-bu...@googlecode.com

unread,
Jan 21, 2013, 12:16:09 PM1/21/13
to php-form-builder...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 191 by rjacobse...@gmail.com: jquery ui already place on page in
header, but the builder is trying to add it again
http://code.google.com/p/php-form-builder-class/issues/detail?id=191

What steps will reproduce the problem?
1.Include a header that has jquery and jquery ui
2.make a form with your form builder
3.view the page

What is the expected output? What do you see instead?
The expected output is no errors, but what I get is a javascript error.
Why? Because I already loaded jquery and jquery ui in the header included
in our website, but the php form builder is trying to put the jquery-ui on
the page again. By doing this, it is causing an error.


What version of the product are you using? On what operating system?
pfbc3.1-php5.zip

Please provide any additional information below.

php-form-bu...@googlecode.com

unread,
Jan 21, 2013, 12:21:30 PM1/21/13
to php-form-builder...@googlegroups.com

Comment #1 on issue 191 by rjacobse...@gmail.com: jquery ui already place
on page in header, but the builder is trying to add it again
http://code.google.com/p/php-form-builder-class/issues/detail?id=191

I have found that this only occurs when running any of the 4 following
lines:

$form->addElement(new Element_HTML('<legend>jQuery UI</legend>'));
$form->addElement(new Element_jQueryUIDate("Date:", "jQueryUIDate"));
$form->addElement(new Element_Checksort("Checksort:", "Checksort",
$options));
$form->addElement(new Element_Sort("Sort:", "Sort", $options));

php-form-bu...@googlecode.com

unread,
Feb 11, 2013, 11:44:29 PM2/11/13
to php-form-builder...@googlegroups.com

Comment #2 on issue 191 by ajport...@gmail.com: jquery ui already place
on page in header, but the builder is trying to add it again
http://code.google.com/p/php-form-builder-class/issues/detail?id=191

r611 added support for "jqueryui" as a value in the prevent array - which
is used to prevent assets from being loaded (like jquery, bootstrap, and
now jqueryui).

See http://code.google.com/p/php-form-builder-class/source/detail?r=611 for
details.

php-form-bu...@googlecode.com

unread,
Mar 13, 2013, 8:26:49 AM3/13/13
to php-form-builder...@googlegroups.com

Comment #3 on issue 191 by gms8...@gmail.com: jquery ui already place on
page in header, but the builder is trying to add it again
http://code.google.com/p/php-form-builder-class/issues/detail?id=191

How is one supposed to set those values? There doesn't seem to be a
setPrevent() method.

--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
Reply all
Reply to author
Forward
0 new messages