Re: FormBuilder + DataObject and checkboxes
| From: | Dan Rossi | Date: | Thu, 26 May 2005 00:51:43 +0000 |
| Subject: | Re: FormBuilder + DataObject and checkboxes | ||
| References: | 1 2 3 4 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-19372@lists.php.net to get a copy of this message | ||
On 26/05/2005, at 2:30 AM, Justin Patrin wrote:
You shouldn't have to use advcheckbox...normal checkboxes work fine in all of my forms. What browser are you using? What version of FormBuilder? Have you modified it yourself?Dude there is no freaked up modifications except one particular one to allow null fields to be set as required :) I have a diff however I dont know if I have dont the diff right. www.electroteque.org/pear/FormBuilder.diff . I had my field actually set to tinyint (1) not null which i usually setup for flags, however the DO generated it to int (11) sorry to confuse u, I set it to int(1) unsigned, still it generated a textbox with a value of 1 as my last example. I have tested this on both PC IE and MAc Safari, the only way to get it to turn off, is to preformat that field with advcheckbox which i have no issues about, i personally think its how you are formatting the checkboxes to begin with, If it has a value its always going to goto the DO with it on no matter if its checked or unchecked :)
Also, again, please stop and think before you post to the list. Sending 4 replies to the same e-mail is annoying, wasteful, and fragments the conversation. Think it all through and try everything you can think of *before* you post again. If you want more immediate help, use the IRC channel.If you have a problem, say it offlist, I am trying to help here aswell as ask questions. I dont respect being flamed that my emails are annoying, I think whats happened is, they dont get to the list quick enough and become out of sync. I will however in the future try and compile it into one email, but I'm doing it as i find things.
In addition, since you've gotten to into PEAR I'd think that you could start looking at the source code more. It would be more helpful for you to simply trace the code and figure out what might be wrong than to pester us with off-the-wall questions and strange situations that we can't understand. Figure out what's wrong, fix it, and send a patch.Obviouslly I have audited your code if I am creating diff's , how long do you think i've been around for ? I look at the guts of peoples code and end user docs, api docs, before I start asking questions. Personally I dont have the time as I would like to contribute to every single package i use :|