email form

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
Moozie
Posts: 164
Joined: Sat 8. Nov 2003, 00:21
Location: Netherlands

email form

Post by Moozie »

When you choose an article to be an "email form" how do I set the form fields in the admin? Let's say I want a form to contain the fields:

Name, Address, City, Zipcode and age
Age has to be a digit e.g. 32 or 13.

How is this done?

Thanx

Moozie
User avatar
Oliver Georgi
Site Admin
Posts: 9900
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post by Oliver Georgi »

I will extend documentation.

Try this, then you will find some of the possible. I will change the form sending a little bit later - but for now it is good enough :wink:

Code: Select all

IT|firstname|1|firstname: |40,100|value|300
IP|password|0|password: |12,100||100
TA|info|0|info: |20,3||300
SM|menu|0|menu: |20,100|Test#Test2#Test3|300
SL|list|0|list: |3,0|1%Test#2%Test2#3%Test3#4%Test4|200
IC|mark|1|check this: |50,3|mark1%1%DU#mark2#mark3#list#new#selection|0
IR|radio|1|radio: |50,0|mark1%1%DU#mark2#mark3|0
SC|country|0|country: |10,100|DE|300
IN|zip|1|zip: |40,100||300
Look at the third value 0 OR 1 (...|...|1|...) -> sets if the value is a must filled.

Have a look at the rendered source code to see the relation between - try very strange or different values to better find out.

Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
Post Reply