Manuel, How do I go about adding inputs (buttons, checkboxes, etc) to the form to automate client (JavaScript) actions such as check/uncheck, select/unselect,...
822
Manuel Lemos
mallemos
Dec 9, 2006 6:11 am
Hello, As I mentioned I have been giving talks about the forms class in several places in Brazil. In one of the places the talk was filmed. Finally, I have...
823
Manuel Lemos
mallemos
Dec 9, 2006 6:17 am
Hello, As I mentioned I have been giving talks about the forms class in several places in Brazil. In one of the places the talk was filmed. Finally, I have...
824
Manuel Lemos
mallemos
Dec 9, 2006 9:53 pm
Hello, ... Of course, when you use the forms class plug-in you must have created a a form object so it composes the form output. The Smarty plug-in for the...
825
Manuel Lemos
mallemos
Dec 9, 2006 10:01 pm
Hello, ... If you add inputs to the form dynamically using Javascript, that is no longer under the control of the form class because all happens at the browser...
826
Shekar C. Reddy
powerobject
Dec 11, 2006 6:20 pm
Thanks for clarifying that, Manuel. It is clear now as to how the form object composes the form output. I guess we can live with multiple templates for forms...
827
Shekar C. Reddy
powerobject
Dec 11, 2006 6:22 pm
Manuel, I guess this 2-hour video is exhaustive and excellent! I could follow it upto 50% because of the language. Thanks much for sharing this with us. ...
828
Shekar C. Reddy
powerobject
Dec 15, 2006 3:03 am
[NOT: Multi-page Forms] Manuel, Apparently, the forms class has a hard-coded var $form that is rendered in Smarty. How do I go about rendering multiple forms...
829
Manuel Lemos
mallemos
Dec 15, 2006 3:27 am
Hello, ... I am not sure what you mean. If the forms are different, you would better use different form objects. If it is the same form, you can use different...
830
Shekar C. Reddy
powerobject
Dec 15, 2006 6:00 am
Yes, it's the same form. I couldn't find any sample code on using ResetFormParts() method using Smarty. My code is similar to: $form->LoadInputValues( ... ); ...
831
Manuel Lemos
mallemos
Dec 15, 2006 1:29 pm
Hello, ... No. ... Just call ResetFormParts after you output a form with one template and before outputting the again. -- Regards, Manuel Lemos Metastorage -...
832
albertp3
Dec 28, 2006 7:33 pm
I want to generate a select for a long list of years. I don't want to code it by hand. If I wasn't using this class I would do it like this: $year=date("Y"); ...
833
Manuel Lemos
mallemos
Dec 31, 2006 1:12 am
Hello, ... This message was already replied here: http://www.phpclasses.org/discuss/package/1/thread/44/ -- Regards, Manuel Lemos Metastorage - Data object...
834
Manuel Lemos
mallemos
Jan 8, 2007 9:15 pm
Hello, Finally I made time to translate the slides of the forms class presentation from Portuguese to English. I am getting ready to produce a screencast video...
835
Shekar C. Reddy
powerobject
Jan 10, 2007 8:14 am
Excellent job, Manuel! These slides are very informative and give extra coverage on the class. Yes, we would love to watch the screencast in English when it is...
836
operationsengineer1@...
operationsen...
Jan 18, 2007 12:53 am
hi Manuel, I have the following code... $form->AddInput(array( "TYPE"=>"file", "NAME"=>"userfile", "ID"=>"userfile", //"ACCEPT"=>"image/gif", ...
837
Manuel Lemos
mallemos
Jan 18, 2007 1:27 am
Hello, ... No, sorry, that is something that you need to change in php.ini. -- Regards, Manuel Lemos Metastorage - Data object relational mapping layer...
838
Shekar C. Reddy
powerobject
Jan 18, 2007 4:31 pm
Manuel, I notice InvalidCLASS/InvalidSTYLE are being used for the input itself but is there a way to set these for the input's LABEL? Would it be possible to...
839
Manuel Lemos
mallemos
Jan 18, 2007 5:00 pm
Hello, ... You already requested that but there was not yet time to implement it. Please be patient. -- Regards, Manuel Lemos Metastorage - Data object...
840
Shekar C. Reddy
powerobject
Jan 18, 2007 8:51 pm
My bad! You are right. Thanks for refreshing my memory... ... itself ... be ... InvalidLabelCLASS/InvalidLabelSTYLE ... it....
841
Shekar C. Reddy
powerobject
Jan 19, 2007 3:17 pm
Manuel, Setting a border InvalidSTYLE for invalid inputs works for text inputs but does not work for select inputs for frontend/badckend validations. However,...
842
Manuel Lemos
mallemos
Jan 19, 2007 10:42 pm
Hello, ... I think that depends on the browser. Personally I would not worry trying to make it look like as you expect, but if you think it is important, I...
843
Shekar C. Reddy
powerobject
Jan 20, 2007 1:23 am
Manuel, Yes, I've already tried using per-input InvalidCLASS/InvalidSTYLE for inputs but for some reason, I noticed it does not generate the frontend...
844
Manuel Lemos
mallemos
Jan 20, 2007 1:43 am
Hello, ... Does it happen with all browsers? Can you provide a minimal example script so I can reproduce the problem? -- Regards, Manuel Lemos Metastorage -...
845
Shekar C. Reddy
powerobject
Jan 20, 2007 8:03 am
Manuel, 1. You are right in that Firefox renders border color for select inputs but IE doesn't. 2. Further, you are also right to leave this to the developer...
846
Manuel Lemos
mallemos
Jan 26, 2007 10:57 am
Hello, Finally I made time to produce and upload the video of the forms class talk in English. This is a 4 hour video that is available here using Google...
847
Shekar C. Reddy
powerobject
Feb 11, 2007 2:13 am
Manuel, The video has good footage. But I noticed the volume was feeble for some reason. Thanks, ... class ... example ... AVI ... directly....
848
Shekar C. Reddy
powerobject
Feb 11, 2007 2:15 am
Manuel, I have a chicken-n-egg situation where I would not know if an input is required or not until a later time in my script. So I add it anyway and then...
849
Shekar C. Reddy
powerobject
Feb 12, 2007 10:24 am
Manuel, I would like to follow up on this as I started re-working on this task now. The reqs changed and now, there are multiple forms on the same page. You...
850
Shekar C. Reddy
powerobject
Feb 13, 2007 11:26 pm
Manuel, The following input specs are triggering client-side validations gracefully (without the ValidateOnlyOnServerSide) but are failing/skipping server-side...