 |
LevelTen Apps Support Forum
|
|
|
| Author |
Message |
damoleeds
Joined: 12 Aug 2004 Posts: 1
|
Posted: Thu Aug 12, 2004 11:03 am Post subject: Newbie to php |
|
|
Hi, I want to use the Form Mail, but the form design I want and the number of boxes I need are more than formail offers as default.
Not wanting to hack the code too much in case I break it, can anyone advise me before I jump in feet first?
Many thanks,
damoleeds |
|
| Back to top |
|
 |
RoBeRt
Joined: 12 Sep 2004 Posts: 1
|
Posted: Sun Sep 12, 2004 11:02 am Post subject: |
|
|
Yes you can, in the script (L10FmX.php), line 32, you get: | Quote: | | 'sesrep_max_items' => '10', | just change the 10 to somwthing else to suit your needs! |
|
| Back to top |
|
 |
RumRat
Joined: 10 Oct 2004 Posts: 8 Location: Wisbech, Cambs., England
|
Posted: Sun Oct 10, 2004 10:47 am Post subject: |
|
|
Hate to butt in here, but as i am just learning my way around L10FM, it says here in my instructions that 'sesrep_max_items - limits the number of sessions bty the submitting visitor that are returned by the session report generator.'
I think Damoleeds is talking about adding extra fields and that is what I am also trying to figure out.
Ken |
|
| Back to top |
|
 |
RumRat
Joined: 10 Oct 2004 Posts: 8 Location: Wisbech, Cambs., England
|
Posted: Mon Oct 11, 2004 9:19 am Post subject: Adding fields |
|
|
Damo
If you go into your Quick start set up and go to the Configuration Parameters section, you will find out how to add Didden or Visible fields. I have done this on my L10, but unfortunately, I am still only getting the 3 fields that were in the firast version I had.
I am looking into it this evening, so if I manage to get the extra fields, I will post it here for you.
Ken |
|
| Back to top |
|
 |
RumRat
Joined: 10 Oct 2004 Posts: 8 Location: Wisbech, Cambs., England
|
Posted: Mon Oct 11, 2004 1:10 pm Post subject: Adding fields |
|
|
Hi Damo
Well, I have had success more or less. I have addeed some fileds and it's working, though I do get an error message comes up after submitting, though the email is sent OK and I can read it no problem.
What I did was, open up the php file in Notebook and added the fields as below:
| Code: | 'realname' => '',
'email' => '',
''realname' =>",
'homepage' => '',
'country' => '',
'reference' => '',
'comments' => '',
'required' => 'realname,email,country,reference,comments',
'format' => 'html',
'sesrep_max_items' => '10', |
HTH
Ken |
|
| Back to top |
|
 |
|
Powered by phpBB © 2001, 2005 phpBB Group
|