Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2008-01-18 08:56:06
- txpuser75
- New Member
- Registered: 2008-01-15
- Posts: 8
zem_contact_reborn Plugin!
Hello Textpattern users thank you for your work.
I would like style my Mailform and i use zem_contact_reborn.
Iwould like a bold Text here an example: My Name and after
i would like have without a <br> my <input type=“text” or
other Information what i would like have.
And how i can define must fields in my mailform.
Thank you.
Offline
Re: zem_contact_reborn Plugin!
The bold part can be done using CSS. The break can be removed by setting the break attribute for that input field to an empty string (see plugin help). Fields are required by default (see ‘required’ attribute in plugin help)
Offline
#3 2008-01-19 08:39:45
- txpuser75
- New Member
- Registered: 2008-01-15
- Posts: 8
Re: zem_contact_reborn Plugin!
Thank you ruud,
I`m using now my own form called mycontactform.
<txp:zem_contact to=“my@mail.com” form=“mycontactform” />
Here are an example for a field <b>Name</b> <INPUT TYPE=“TEXT” NAME=“Name” SIZE=30 class=“formfelder”><br />
And my question how i can now define required field in my form or in the
php Code of this plugin.
Thank You
Offline
Re: zem_contact_reborn Plugin!
in the plugin help, look for the ‘required’ attribute for various tags.
Offline
#5 2008-01-20 17:57:17
- txpuser75
- New Member
- Registered: 2008-01-15
- Posts: 8
Re: zem_contact_reborn Plugin!
Thank you i have found that atribut.
And on mor question! I have a css style for one field
.Adress { color: #0B1233; margin: 19px 74px 120px 0px; padding: 0px; height: 12px; background: #E8E7EF; left: 10px;
And i have difene a field called <txp:zem_contact_textarea label=“Adresse “ break=”“ cols=“30” rows=“3” />
The Adress as a Text is not in the same line with the Input Box.
The Adress Text must be on top no buttom.
What can i do?
Thank you.
And here my lerning required=“boolean” 1 for required
Thank you
Offline
Re: zem_contact_reborn Plugin!
Can you provide an URL that demonstrates the problem?
Offline
#7 2008-01-20 18:08:39
- txpuser75
- New Member
- Registered: 2008-01-15
- Posts: 8
Re: zem_contact_reborn Plugin!
Here and thank you.
Last edited by txpuser75 (2008-01-20 19:31:17)
Offline
Re: zem_contact_reborn Plugin!
That’s really difficult to read with your overlay images and quite difficult to debug too, because they seem to hard-coded in.
If you want the label to appear in the same line as your input box, then use the attribute break=""
as you have in your example to stop a line break being added, then style the position of the label and the input boxes and textareas via css, e.g.
label {float:left; ... }
for the labels, and
input.zemText, textarea.zemTextarea { ... your css ... }
for the input boxes and textarea.
If you want the label to appear above your input box or textarea, then leave out the break=""
.
TXP Builders – finely-crafted code, design and txp
Offline
#9 2008-01-21 07:47:52
- txpuser75
- New Member
- Registered: 2008-01-15
- Posts: 8
Re: zem_contact_reborn Plugin!
Here is a special site for this problem:
The first one is the current version:
http://nihonjinhalle.ni.funpic.de/
Offline
Pages: 1