PHP Classes

Buggy! Undefined variables ($return:line 811) and indices ("v...

Recommend this page to a friend!

      Form Builder  >  All threads  >  Buggy! Undefined variables...  >  (Un) Subscribe thread alerts  
Subject:Buggy! Undefined variables...
Summary:Package rating comment
Messages:6
Author:Gary England
Date:2009-04-28 18:03:08
Update:2009-05-01 13:26:43
 

Gary England rated this package as follows:

Utility: Good
Consistency: Sufficient
Documentation: Sufficient
Examples: Good

  1. Buggy! Undefined variables...   Reply   Report abuse  
Picture of Gary England Gary England - 2009-04-28 18:03:08
Buggy! Undefined variables ($return:line 811) and indices ("value": various line numbers. in class. Use of short tags should be discouraged.

  2. Re: Buggy! Undefined variables...   Reply   Report abuse  
Picture of Andrew P. Andrew P. - 2009-04-29 13:33:23 - In reply to message 1 from Gary England
Gary,

Thanks for the feedback. I believe I have found and corrected the issue you were discussing in your post.

Since the initial release there have been a few modifications to the class. The most notably is the addition of a new form field type - latlng - which integrates with the Google Maps API to allow a user to drag and drop a map marker to select a specific latitude and longitude.

Again, I really appreciate your feedback on this project, and I hope any bad first impressions you had won't discourage you from downloading the latest version and getting some use out this form builder class.

Please don't hesitate to offer any other feedback you might have.

Thanks Again,
Andrew

  3. Re: Buggy! Undefined variables...   Reply   Report abuse  
Picture of Gary England Gary England - 2009-04-29 16:15:18 - In reply to message 2 from Andrew P.
Andrew,

Thanks for the quick turnaround. I will download the latest version and give it a go.

Gary

  4. Re: Buggy! Undefined variables...   Reply   Report abuse  
Picture of Gary England Gary England - 2009-04-29 16:38:19 - In reply to message 2 from Andrew P.
Andrew,

Here's the page today from "styling_form.php. While "Notices" can be filtered out in php, my testbed machine does not so that I can find problems.

Gary
-----------------------------------------------
Form Builder Class - Examples
Author: Andrew PorterfieldReleased: April 24, 2009Version: 0.4.0
Back to Project Home Page

Styling Form - This example demonstrates various ways to style your form and its elements. The two methods below are different but display the same result.

Notice: Undefined index: value in C:\public_html\formbld2\class.form.php on line 1103

Notice: Undefined index: value in C:\public_html\formbld2\class.form.php on line 1194

Notice: Undefined index: value in C:\public_html\formbld2\class.form.php on line 1194

Notice: Undefined index: value in C:\public_html\formbld2\class.form.php on line 1194

  5. Re: Buggy! Undefined variables...   Reply   Report abuse  
Picture of Andrew P. Andrew P. - 2009-04-30 15:35:53 - In reply to message 4 from Gary England
Gary,

I apologize for not getting back to you earlier on this. Thanks for providing the detailed error messages that you were receiving. I made a few modifications to the class and all the examples are now checking out with error_reporting(E_ALL); set.

Included in these modifications is a new form field type - checksort - which combines standard checkboxes with the jQuery UI sort field to allow checked items to be sorted all in one field. When you can, check it out and let me know what you think.

Thanks for your continued support of this project! Your feedback is always appreciated.

- Andrew

  6. Re: Buggy! Undefined variables...   Reply   Report abuse  
Picture of Gary England Gary England - 2009-05-01 13:26:43 - In reply to message 5 from Andrew P.
Andrew!

Good Job! It works as advertised now and I changed may rating of your class appropriately.

Gary