Formdesigner: how is it supposed to work ?

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
brans

Formdesigner: how is it supposed to work ?

Post by brans »

Hi ppl,

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

cheers

brans
User avatar
pico
Posts: 2595
Joined: Wed 28. Jul 2004, 18:04
Location: Frankfurt/M Germany
Contact:

Post 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?
Lieber Gott gib mir Geduld - ABER BEEIL DICH
Horst - find me at Musiker-Board
cyrano
Posts: 1598
Joined: Sat 31. Jan 2004, 18:33
Location: Stuttgart
Contact:

Post 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
Last edited by cyrano on Sun 20. Feb 2005, 11:53, edited 1 time in total.
Gruß/ regards cyrano
--------------------------------------------------------
templates -> http://www.128.weitzelmedia.de
planepix -> http://www.planepix.de
XING -> https://www.xing.com/profile/Thomas_Weitzel3
User avatar
pico
Posts: 2595
Joined: Wed 28. Jul 2004, 18:04
Location: Frankfurt/M Germany
Contact:

Post 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
Lieber Gott gib mir Geduld - ABER BEEIL DICH
Horst - find me at Musiker-Board
User avatar
Oliver Georgi
Site Admin
Posts: 9906
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post 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
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
brans

Post by brans »

thanks a lot :D
Morgen
Posts: 14
Joined: Thu 3. Feb 2005, 08:25

Post 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
User avatar
Oliver Georgi
Site Admin
Posts: 9906
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post by Oliver Georgi »

this is outdated - use the new visual form generator

Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
Ben
Posts: 558
Joined: Wed 14. Jan 2004, 08:05
Location: Atlanta
Contact:

Post 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.
ftalumni
Posts: 14
Joined: Wed 24. Nov 2004, 11:49

Post 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
ftalumni
Posts: 14
Joined: Wed 24. Nov 2004, 11:49

Post 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
User avatar
Oliver Georgi
Site Admin
Posts: 9906
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post by Oliver Georgi »

I will check that - but your account seems to be limited by your hosting company.

Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
Peekay
Posts: 286
Joined: Sun 25. Jul 2004, 23:24
Location: UK

Post by Peekay »

Is there a PHP system requirement for this feature? I mean, something we should check for in phpinfo() first before installing PHPWCMS? :?:
User avatar
Oliver Georgi
Site Admin
Posts: 9906
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post by Oliver Georgi »

normally not - regarding "standard" php.ini settings. But some providers may have general accepted features disabled.

Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
User avatar
Oliver Georgi
Site Admin
Posts: 9906
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post 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
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
Post Reply