Manuel, I've just noticed clicking the submit button populates the submit button into $_POST but pressing the Enter key does not. Is this the default behavior...
Hello, ... Yes, the submit button only appears in request variables when it is effectively used. -- Regards, Manuel Lemos Metastorage - Data object relational...
Manuel, Thanks for clearing that up! Is there any JavaScript magic I could use to force the default submit button into request vars? Form-onsubmit for...
* Class: FCKEditor Plug-in <http://www.phpclasses.org/browse/package/3524.html>* * Short description: Plug-in to edit HTML in Web forms using FCKEditor *...
Hello, ... I finally made time to make the Smarty pre-filter use handle properly all special marks like include, include_php, if, else, elseif, foreach, ...
Hello, ... I finally made time to a new input property name ApplicationData that you can set to any type of value using AddInput or SetInputProperty. You can...
Thank you very much, Manuel! We do appreciate your time and efforts. I'll certainly use this feature right away which would go a very long way in utilizing...
Thanks much, Manuel! This will reduce the number of template files in my application now. I was actually using different template files for forms-based pages ...
Hello, ... Sorry, Data can't be used because there is already a property with that name in a custom input. -- Regards, Manuel Lemos Metastorage - Data object...
Manuel, I'm afraid the problem did not get resolved with preg_quote in prefilter as the following still throws "syntax error: unrecognized tag 'input'...
Hello, ... You can only use the forms Smarty plug-in if you set Smarty "form" variable to the forms class object. Therefore you cannot use the "form" to assign...
Oops! Sorry for the confusion. The actual code is: {if $page.type = 'form'} {input name="Submit"} {/if} Yes, the Smarty "form" variable is set to the forms...
Hello, ... It seems you should be using == token, as just = makes Smarty fail in error. ... It looks ok to me. Smarty generates PHP code that uses if/endif...
Sorry again for typing wrong code, Manuel - because I could not copy it from my code as I was away from my machine. Yes, the operator used is ' == ' with...
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...