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,...
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...
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...
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...
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...
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...
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. ...
[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...
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...
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( ... ); ...
Hello, ... No. ... Just call ResetFormParts after you output a form with one template and before outputting the again. -- Regards, Manuel Lemos Metastorage -...
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"); ...
Hello, ... This message was already replied here: http://www.phpclasses.org/discuss/package/1/thread/44/ -- Regards, Manuel Lemos Metastorage - Data object...
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...
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...
Hello, ... No, sorry, that is something that you need to change in php.ini. -- Regards, Manuel Lemos Metastorage - Data object relational mapping layer...
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...
Hello, ... You already requested that but there was not yet time to implement it. Please be patient. -- Regards, Manuel Lemos Metastorage - Data object...
Manuel, Setting a border InvalidSTYLE for invalid inputs works for text inputs but does not work for select inputs for frontend/badckend validations. However,...
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...
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...
Hello, ... Does it happen with all browsers? Can you provide a minimal example script so I can reproduce the problem? -- Regards, Manuel Lemos Metastorage -...
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...
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...
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...
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...
Manuel, The following input specs are triggering client-side validations gracefully (without the ValidateOnlyOnServerSide) but are failing/skipping server-side...