Eigenes Formular ohne Contentpart "Formular"
Eigenes Formular ohne Contentpart "Formular"
Hallo Forum,
ich möchte gerne ein eigenes Formular innerhalb PHPWCMS versenden.
ICH WEISS: Es gibt ein tolles Contentpart dafür. Das nutze ich auch meistens. Jedoch ist mein Formular vom Aufbau her so komplex, dass ich ein HTML-Formular nutzen möchte.
Nur, wie gebe ich es weiter? Über den alten Formmailer oder PHPmailer. Wie binde ich es ein?
Danke für ein paar Hinweise...
Viele Grüße
Harald
ich möchte gerne ein eigenes Formular innerhalb PHPWCMS versenden.
ICH WEISS: Es gibt ein tolles Contentpart dafür. Das nutze ich auch meistens. Jedoch ist mein Formular vom Aufbau her so komplex, dass ich ein HTML-Formular nutzen möchte.
Nur, wie gebe ich es weiter? Über den alten Formmailer oder PHPmailer. Wie binde ich es ein?
Danke für ein paar Hinweise...
Viele Grüße
Harald
Kannst Du es nicht im CP zusammenschrauben, dann in einem Editor umschrauben (bei Beibehaltung der classes, ids, Feldnamen usw) und allem, was der Quellcode aus dem Formular so hergibt und dann in einen html CP pasten?
Müsste doch gehen, oder irre ich mich?
Geht doch auch mit der Suche zB...
Müsste doch gehen, oder irre ich mich?
Geht doch auch mit der Suche zB...
Last edited by update on Sat 22. Nov 2008, 13:34, edited 1 time in total.
Ist genau so!claus wrote:...Wenn dem so wäre ---> ...
BEISPIEL:
[x]
...den Rest "reintackern", editieren, ergänzen - und gut is - nix sortieren usw. (hab ich anfangs aber auch gemacht und dabei geflucht, bis ich's gerafft hatte)
greetz
Last edited by Jensensen on Fri 19. Sep 2008, 21:11, edited 1 time in total.
Re: Eigenes Formular ohne Contentpart "Formular"
I'm just playing around with Jensensens tableless one and Knuts instructions given in the other thread ( http://forum.phpwcms.org/viewtopic.php? ... a&start=30 ) - this custom template thing is really cool. Possibilities -> freedom!
just wanted to say thanks!
just wanted to say thanks!
It's mostly all about maintaining two or three customer's sites Still supporter for the band Mykket Morton. Visit Mykket Morton on FB. Listen Mykket Morton and live videos on youtube.
Now building a venue for young artists to get wet on stage, rehearsal rooms, a studio, a guitar shop - yes I'm going to build some guitars.
Now building a venue for young artists to get wet on stage, rehearsal rooms, a studio, a guitar shop - yes I'm going to build some guitars.
Re: Eigenes Formular ohne Contentpart "Formular"
Testing the form (built with fieldsets...) I realize that it doesn't save the already filled form fields when hitting send while missing some required fields.
This isn't user friendly at all
The form built as a standard one is behaving different regarding this issue - it is keeping safe the already filled in fields.
I did some testing but it didn't help anything - the fields are completely empty again each time I forget one to fill in.
Has anybody any clue how to solve this - did I do something terribly wrong or is it a bug or even a (hidden) feature
This isn't user friendly at all
The form built as a standard one is behaving different regarding this issue - it is keeping safe the already filled in fields.
I did some testing but it didn't help anything - the fields are completely empty again each time I forget one to fill in.
Has anybody any clue how to solve this - did I do something terribly wrong or is it a bug or even a (hidden) feature
It's mostly all about maintaining two or three customer's sites Still supporter for the band Mykket Morton. Visit Mykket Morton on FB. Listen Mykket Morton and live videos on youtube.
Now building a venue for young artists to get wet on stage, rehearsal rooms, a studio, a guitar shop - yes I'm going to build some guitars.
Now building a venue for young artists to get wet on stage, rehearsal rooms, a studio, a guitar shop - yes I'm going to build some guitars.
Re: Eigenes Formular ohne Contentpart "Formular"
From time to time one has to formulate the problem to take some breath and rearrange the whole stuff and himself once again...
It's working now!
In case it is of interest here is what went wrong
This is working and is sending the form too (I wanted to have the tab indexes...)
To enable the fields to remember a previously given input it should be like this
Only the tab indexes are gone - next topic!!!
Life is so easy sometimes
It's working now!
In case it is of interest here is what went wrong
Code: Select all
<label for="vorname">{LABEL:vorname}</label><input type="text" name="vorname" id="vorname" value="" tabindex="3" />[BR]
To enable the fields to remember a previously given input it should be like this
Code: Select all
<label for="vorname">{LABEL:vorname}</label>{vorname}[BR]
Life is so easy sometimes
It's mostly all about maintaining two or three customer's sites Still supporter for the band Mykket Morton. Visit Mykket Morton on FB. Listen Mykket Morton and live videos on youtube.
Now building a venue for young artists to get wet on stage, rehearsal rooms, a studio, a guitar shop - yes I'm going to build some guitars.
Now building a venue for young artists to get wet on stage, rehearsal rooms, a studio, a guitar shop - yes I'm going to build some guitars.
Re: Eigenes Formular ohne Contentpart "Formular"
hehe just guessing :
Did I catch the main bet ?
Code: Select all
......
<label for="name">Name<strong>*</strong>value="Himbelhuber"</label>{name}
Re: Eigenes Formular ohne Contentpart "Formular"
No, not with "Himbelhuber"
These are the facts so far:
when I do it this way
it is formatting a nice labelled input field. So far so good...
But when I try to do it with a checkbox (my form has a lot of them) like so
the output looks like
My label for checkbox [] checkbox
where checkbox isn't the label but the name of the box - this seems to be a bug!
Source code output for this one is
You see?
Doing it this way (a checkbox again)
it's again nicely formatted but doesn't remember the checked state anymore
And doing it like so
lets the checkbox stick to the label unformattable with an extra "checkbox" (no, not the label )
So I could try with "Wanninger" or "Müller-Schnödenfels" or "Gustav Gans" but these checkboxes don't seem to be able to work as intended (otherwise I'll always be prepared to find myself on a kind of a "woodway" either )
To have a choice by now between the no and the no-thing is rendering myself quite unpleased - "we're not amused" to cite the queen
These are the facts so far:
when I do it this way
Code: Select all
<label for="vorname">{LABEL:vorname}</label>{vorname}[BR]
But when I try to do it with a checkbox (my form has a lot of them) like so
Code: Select all
<label for="checkbox">{LABEL:checkbox}</label>{checkbox}
My label for checkbox [] checkbox
where checkbox isn't the label but the name of the box - this seems to be a bug!
Source code output for this one is
Code: Select all
<label for="checkbox">Einverständnis erklärt!</label><input type="checkbox" name="checkbox" id="checkbox" value="checkbox" /><label for="checkbox">checkbox</label>
Doing it this way (a checkbox again)
Code: Select all
<label for="fachbetriebsadresse">{LABEL:fachbetriebsadresse}</label><input type="checkbox" name="fachbetriebsadresse" id="fachbetriebsadresse" value="Fachbetriebsadresse" />[BR]
And doing it like so
Code: Select all
{LABEL:checkbox}{checkbox}
So I could try with "Wanninger" or "Müller-Schnödenfels" or "Gustav Gans" but these checkboxes don't seem to be able to work as intended (otherwise I'll always be prepared to find myself on a kind of a "woodway" either )
To have a choice by now between the no and the no-thing is rendering myself quite unpleased - "we're not amused" to cite the queen
It's mostly all about maintaining two or three customer's sites Still supporter for the band Mykket Morton. Visit Mykket Morton on FB. Listen Mykket Morton and live videos on youtube.
Now building a venue for young artists to get wet on stage, rehearsal rooms, a studio, a guitar shop - yes I'm going to build some guitars.
Now building a venue for young artists to get wet on stage, rehearsal rooms, a studio, a guitar shop - yes I'm going to build some guitars.