Page 1 of 3

Formdesigner: how is it supposed to work ?

Posted: Sun 20. Feb 2005, 11:28
by brans
Hi ppl,

hast anybody found out how the formdesigner-cnt-part is supposed to work ?

cheers

brans

Posted: Sun 20. Feb 2005, 11:36
by pico
what do you mean - or wich one

there is the 'E-Mail Formulargenerator' wich is the old one I think
and the 'E-Mail Kontaktformular' I Think the new one?

Posted: Sun 20. Feb 2005, 11:40
by cyrano
I think it's vice versa :-)

and both looks the same without knowing how to use it...

ok contact form is newer, not seen in 1.2 dev release, looked like the same.

now much more comfortable

Posted: Sun 20. Feb 2005, 11:48
by pico
for the 'old' one you get the Description here
http://www.phpwcms-docu.de/email_form.phtml

in the 'new' one there it is more comfortable to Enter the Fields from a Drop-Down Menue

Posted: Sun 20. Feb 2005, 11:57
by Oliver Georgi
no it's not really vice-versa. The new one is much more comfortable and easier to use.

in onError/onSuccess you can fill in a text or when selected redirection (checkbox) an url.

select menu and select list:
fill in needed options in the value field like this:

Code: Select all

klaus
gerda selected
müller
for select list -> in M/R field: 0 = multiple off, 1 = multiple (selections) on

checkbox and readio buttons:
fill in needed entries like this - remember checkbox can have multiple checked while radio buttons can have only 1 checked item

Code: Select all

Oliver
Doreen checked
Walter
file:
fill in following values - think you knwo what it means:

Code: Select all

maxlength="10000000"
attachment="1"
accept="text/*"
folder="content/form"
exclude="php,asp,php3,php4,php5,aspx,cfm,js"
text (special):
fill in following values

Code: Select all

type="INT" or "DEC" or "FLOAT" or "IDENT" or "MIX" or "STRING"
default="100"
dateformat="m/d/Y"
see general PHP date format for dateformat setting

and here is a sample stylesheet:

Code: Select all

<style type="text/css">
<!--
.formLabel, .formLabelRequired {
  text-align: right;
  vertical-align: top;
  padding-top: 6px;
  font-size: 10px;
}
.reqMark {
  color:#FF3300
}
//-->
</style>
Try it ;-)

Oliver

Posted: Sun 20. Feb 2005, 12:02
by brans
thanks a lot :D

Posted: Sun 20. Feb 2005, 14:02
by Morgen
hi,
I'm use 1.2.1 DEV version.
2 error:

Error the email formgenerator...
Who is the Send and Reset button? (button label, ect.)

------------------------------------------------
After selecting the "Email contact form", and filling the fields, it works fine. I change to "email Form", and next page will be this, I want to change from the roll-down menu, but it doesnt want to work, for example, "map".. It writes me: "Error: > proof recipient - email format error", and the only way is deleting it.
After writing the email address it works, but till then not.

Thx

Posted: Sun 20. Feb 2005, 16:24
by Oliver Georgi
this is outdated - use the new visual form generator

Oliver

Posted: Tue 22. Feb 2005, 06:27
by Ben
Wow, Oliver! The visual form generator is great! It takes the guess work / memorizing of things out of building forms. This will really make forms more powerful for content editors.

Posted: Tue 22. Feb 2005, 11:12
by ftalumni
the new form is really great and easy to configure but I have two errors when I try to send a message:
Warning: ini_set() has been disabled for security reasons in www/include/inc_ext/phpmailer/class.phpmailer.php on line 432

Warning: ini_set() has been disabled for security reasons in www/include/inc_ext/phpmailer/class.phpmailer.php on line 441

Can anyone help me with this? the page is hosted by http://www.jexiste.fr

thank you very much,

Tom

Posted: Tue 22. Feb 2005, 13:03
by ftalumni
I just realised that I cannot send a message with the form at all when I'm not logged-in in the backend. It just loads the page again.
When logged-in it sends the message but shows the two errors as said earlier.


I'm using DEV1.2 and just updated the phpmailer folder in include/inc_ext with the 1.2.1 version

Any idea?

thank you
Tom

Posted: Tue 22. Feb 2005, 17:01
by Oliver Georgi
I will check that - but your account seems to be limited by your hosting company.

Oliver

Posted: Tue 22. Feb 2005, 18:22
by Peekay
Is there a PHP system requirement for this feature? I mean, something we should check for in phpinfo() first before installing PHPWCMS? :?:

Posted: Tue 22. Feb 2005, 22:09
by Oliver Georgi
normally not - regarding "standard" php.ini settings. But some providers may have general accepted features disabled.

Oliver

Posted: Tue 22. Feb 2005, 22:16
by Oliver Georgi
ftalumni wrote:the new form is really great and easy to configure but I have two errors when I try to send a message:
Warning: ini_set() has been disabled for security reasons in www/include/inc_ext/phpmailer/class.phpmailer.php on line 432

Warning: ini_set() has been disabled for security reasons in www/include/inc_ext/phpmailer/class.phpmailer.php on line 441

Can anyone help me with this? the page is hosted by http://www.jexiste.fr

thank you very much,

Tom
Try to change line 429 within class.phpmailer.php to:

Code: Select all

if (function_exists('ini_set') && $this->Sender != "" && strlen(ini_get("safe_mode"))< 1)
Oliver