I suppose now that this forum has been created, I'll transplant some of the posts from the PHPclasses forums? I would like to nail down my attempts at building...
2
Manuel Lemos
mallemos
Aug 6, 2004 6:15 am
Hello, ... Sure, go ahead. -- Regards, Manuel Lemos PHP Classes - Free ready to use OOP components written in PHP http://www.phpclasses.org/ PHP Reviews -...
3
Albert Padley
albertp3
Aug 11, 2004 8:16 pm
I have a form that has 5 identical selects - one for each day of the week. An example: $fieldform->AddInput(array( "TYPE"=>"select", "NAME"=>"monday_start", ...
4
Manuel Lemos
mallemos
Aug 11, 2004 9:42 pm
Hello, ... That kind of validation is very specific. You need use ValidateServerFunction and ValidateClientFunction, or maybe write a custom input plug-in...
5
Albert Padley
albertp3
Aug 11, 2004 10:21 pm
... Thanks for pointing out the second option. I'll take a look, but I don't think I currently have the skills to pull that off. Albert...
6
Manuel Lemos
mallemos
Aug 11, 2004 11:54 pm
Hello, ... Yes, it requires a little learning before you can create your own custom inputs. If you plan to reuse that kind of inputs, it may be worth investing...
7
Manuel Lemos
mallemos
Sep 10, 2004 5:17 pm
Hello Pavel, Your end ISP mail.ru is rejecting messages sent by my server, so I am replying here in the hope that you get this message. ... Hummm... it seems...
8
rola_51
Sep 14, 2004 9:15 pm
I use an image to bring a popup window with a calendar. I found that an image defined as $frmProy->AddInput(array( "TYPE"=>"image", "ID"=>"image_CalFin", ...
9
Manuel Lemos
mallemos
Sep 14, 2004 11:04 pm
Hello, ... Just define the ONCLICK attribute like this: "ONCLICK"=>"calFin.popup(); return false;" -- Regards, Manuel Lemos PHP Classes - Free ready to use OOP...
10
rola_51
Sep 15, 2004 3:59 pm
... that ... a ... The problem with this solution is that, if I have two or more such images on my form, or click twice on the image, I get the re- submission...
11
fchang
Oct 13, 2004 6:30 am
Hi Manuel, I had originally posted this question on freshmeat.net but I thought that it would be better served if I move the thread to this forum since others...
12
Manuel Lemos
mallemos
Oct 13, 2004 8:14 pm
Hello, ... Now that you mentioned it, I realized that I have changed that last month but did not upload the updated version. I just did it now. Please check it...
13
SAPTraining
roland_kaul2002
Oct 15, 2004 9:21 pm
$$$Provide SAP install CD and SAP course ! Start u SAP consultant study from here!!!!! if u want to know detail,Pls kindly email to erphouse@......
14
fchang
Oct 16, 2004 6:11 am
Hi Manuel, Thanks. The new version now works! I have noticed a documentation error as well. The documentation states that the AddInput function takes ...
15
Manuel Lemos
mallemos
Oct 21, 2004 6:34 pm
Hello, ... Ah, right. I have just fixed that now. Thanks for the notice. ... Not yet. I will add an option for the next release. -- Regards, Manuel Lemos PHP...
16
alpguneysel
Dec 22, 2004 4:47 pm
how do i generate a select box with let's say 90 options? like a "select country". and how do i insert records to database. do i have to write custome code...
17
simian187
Feb 8, 2005 12:12 am
I have not been able to succesfully run the test_smarty_form.php script. I get the form page, but only the title, and header "Test for Manuel Lemos' PHP form...
18
Manuel Lemos
mallemos
Feb 8, 2005 12:29 am
Hello, ... I have tested the example with that version of Smarty and it works fine. Usually the error that you mentioned happens when you change the form ...
19
simian187
Feb 8, 2005 3:04 pm
... header "Test ... blank. ... define ... is ... fine. ... form ... the call ... to ... changed ... your ... focus to ... call ... function ... It appears...
20
simian187
Feb 8, 2005 4:46 pm
... test_smarty_form.php ... 2.6.7 ... works ... necessary ... AddFunction ... OK nothing wrong with Smarty - but here's where it fails in forms.php: Function...
21
Manuel Lemos
mallemos
Feb 8, 2005 11:48 pm
Hello, ... The pre-filter is only called when the template is compiled. When you call fetch(), the pre-filter has already been executed. -- Regards, Manuel...
22
Manuel Lemos
mallemos
Feb 8, 2005 11:54 pm
Hello, ... This means that the input field element specified in the AddFunction call is not present in the form output definition. It seems that either you...
23
counter intelligence
simian187
Feb 9, 2005 6:41 pm
Hello Manuel, No I have not changed the templates (form.tpl, header.tpl, footer.tpl, formerror.tpl). The email section of the template looks like this: <tr> ...
24
Manuel Lemos
mallemos
Feb 9, 2005 7:02 pm
Hello, ... It is hard to tell without further examination. If the input field is not added to the form output when the AddFunction is called and you have not...
25
simian187
Feb 9, 2005 9:40 pm
... footer.tpl, ... have ... It turns out that it was a permissions problem. The template files were not readable by apache. D'oh! Thanks for taking the time...
26
operationsengineer1@...
operationsen...
Feb 10, 2005 9:27 pm
before allowing data to interact with a database, one should prepare the data to make sure it will be stored in the database correctly and prevent malicious ...
27
idiroddi
Feb 12, 2005 5:34 am
How do you use db results as option values in Select fields. Thank you James...
28
Manuel Lemos
mallemos
Feb 13, 2005 4:57 am
Hello, ... For presenting values in the forms, the forms class already uses HtmlEntities() to output HTML tag attribute values and data. Escaping text strings...
29
Manuel Lemos
mallemos
Feb 13, 2005 5:07 am
Hello, ... You need query the database and retrieve the values and their names to build an associative array with the pairs of options values. For instance...
30
operationsengineer1@...
operationsen...
Feb 14, 2005 5:54 pm
i have set up my form so that the logic part is primarily in my main page and i use and include statement to call a content template as required. everything...