With this code ,the user have to put a valid email adress. How can i make that the user can let de field empty to if donīt remember the mail? // Mail ...
You need to add a value which will be accepted without any validation. You do this by the setting 'ValidateOptionalValue'=>'' - i.e. allow a blank value to...
Hello, ... I think you are looking at the wrong Smarty directories. ... As explained in the example, do not process the form template directly with the page...
Hello, ... You need to check that with the onunload body page tag. ... I don't think you can cancel unloading a page. Never tried though. ... See the...
Hello, ... I could not reproduce the behavior in Firefox 1.5.0.4 under Linux. Since the div does not contain nothing, nothing appears. Anyway, if it helps I...
Good Afternoon: I have having problems initially setting a check box. My friend and I have tried what we believe are all combinations of variables to set the ...
Hello, ... Do not set this attribute if you do not want the checkbox checked. -- Regards, Manuel Lemos Metastorage - Data object relational mapping layer...
... SetCheckedState should do the trick. it comes *after* you've defined your check box elements. from the Manuel's manual (i had to put those two words ...
Hello- I have the memory of an elephant. I've developed web pages, but each time I start a new one it's like I've never done one before. Anyway, the latest...
Hello, ... Not really. You can pick your HTML forms and transform them into Smarty templates with minor changes or replace the input tags by short PHP commands...
... Gary, i think the first thing you need to do is decide what you want. i started using Manuel's great forms class when i first started seriously developing...
... Wow, thanks a million for the offer and your insights. If you have the time to work out an example and post the code, I will gladly apply myself and learn...
Oracle example // Id Organitzador // Omplo les opcions de la select des de la base de dades $select = "select id_organitzador,nom from ge_organitzadors order...
Just want to share my experience... I have a similar set up of using add-modify. I have one PHP file that I use for BOTH add and modify. the Add works...
Manuel, If I have a group of checkboxes as under: Group: [ ] Admin [ ] User [ ] Browser with a label for each checkbox along with a common label for...
Hello, ... can prefix the set- ... In HTML there is no such thing as groups of inputs. When you define a label it must be associated with a single input....
Manuel, Regret for the delay in replying as I was moved to another project. I've pasted the compiled output of the toolbar.tpl: <?php /* Smarty version 2.6.11,...
Manuel, I guess that is close enough to work out a solution. How do I add another label for the input (Admin in the given example) or the set using ...
Hello, ... No, the LABEL input property just defines the default LABEL argument value of AddLabelPart function. So, you can have multiple AddLabelPart calls...
Sorry, Manuel! I couldn't follow. Here is my situation: Group: [ ] Admin [ ] User [ ] Browser (input-names: group) (input-IDs: group_admin, group_user,...
Hello, ... You need to set the FOR attribute to the ID of one of the inputs. That is how labels work. -- Regards, Manuel Lemos Metastorage - Data object...
Okay, I just stumbled upon this great class at phpclasses, and I must say, it looks great, and the code is well written, and robust for a form system to expand...
Hello, ... That is just what the example script does. In your real scripts, you would do something else. Take a look at the section of the script like below....
Thanks for the info, however, this doesn't solve the problem that I was noticing... I'm using the ajax system, so as soon as the submit button is clicked, ...
Hello, ... This happens when the form is not being submitted via AJAX. If you changed the example script, either you introduced something that is causing a...
Manuel, With a couple of submit buttons on the form, is there a way to skip form validations (cient/server) on clicking one of the submits without changing its...
Hello, ... I am not sure if this is what you mean, but if you set the SubForm property of a submit input, only the inputs that have the same SubForm property...
Manuel, I tried adding a label part right after AddInput() using: AddLabelPart( array( 'LABEL' => 'Group', 'ID' => 'group', 'FOR' => 'group_admin' )); I got no...