Forums

empty emails, but template is used.

rockoladeluxe 27 Jul, 2011
i've trying for almost a day now, and iḿ almost giving up on this one...
Chronoforms i rather complicted, and i just figured everything out (i thought)
but my form returns almost empty.
I use this template:(I already stripped almost all html, because I thought that was causing the trouble)

<div style="width:550px;float:left;text-align:left;"><p style="font-family:verdana">
<b>organisatie:</b> {organisatie}<br/>
<b>naam:</b> {naam}<br/>
<b>adres:</b> {adres}<br/>
<b>postcode:</b> {postcode}<br/>
<b>woonplaats:</b> {woonplaats}<br/>
<b>telefoon:</b> {telefoon}<br/>
<b>email:</b> {email}<br/></div>[/code]

And get I this returned by email:


organisatie: {organisatie}
naam: {naam}
adres: {adres}
postcode: {postcode}
woonplaats: {woonplaats}
telefoon: {telefoon}
email: {email}

type klacht: {klachtenkeuze}
klacht: {klacht}

Ive been surching the forum and the internet, but everytime my problem seems to be a bit different.
Iḿ really confused here, but would love to know how the trick is done!

thanks, Rockoladeluxe
rockoladeluxe 27 Jul, 2011
i made 4 forms, when i apply a template, it saves a not working one from another form when i check it!! Am i crazy, or is it all mixed up??
rockoladeluxe 28 Jul, 2011
i figured it out! it is not possible. in joomla 1.7
rockoladeluxe 28 Jul, 2011
ok, it is possible, but DO NOT copy forms and expect them to work instantly. You will have to change fieldnames&id's. otherwise it mixes up badly and unexpectedly. My bad, but itś hard to get good documentation, and I would expect some kind of warning. this is not for beginners.
Iḿ getting along now i think.
GreyHead 28 Jul, 2011
Hi rockoladeluxe,

Sorry, I've read these posts but I still have no idea what the problem actually is?

Bob
rockoladeluxe 28 Jul, 2011
Hi GreyHead,

I thought i figured it out,but i did not untill a few minutes ago.
The problem is this: I've got 4 forms, almost identical except for the dropdownlists.
Because my forms began loading content from other forms, i figured that had to be the HTML in my temlate, so I deleted al HTML. That did not solve the problem, so it thought it had to be the form-element's name and/or ID. So i gave all elements a unique id (name_form1, name_form2 etc)
But the problem stayed.

I now think it is the HTML I put in the code of the form afterwards above the form:
HTML in form id 182: <h2>Company name | contact form<h2>
HTML in form id 183: <h2>Company name | pricerequest form<h2>
HTML in form id 184: <h2>Company name | submit complaints form<h2>
HTML in form id 185: <h2>Company name | ask our specialists form<h2>

As soon as I do that, pulldowns and Labels appear (randomly?) in the code of other forms.
Leaving me to start over again...
GreyHead 28 Jul, 2011
Hi rockoladeluxe,

Sorry, I still have no idea what the problem is.

Are you getting errors in the Form? In the emails? Somewhere else?

What errors are you getting exactly?

Bob
rockoladeluxe 28 Jul, 2011
Iḿ not getting errors as in notices, rather, my form A appears on the frontend while I have formB openend (with the right form-ID, the menu points at right from also so that is not the problem.)
when i open my menu B, some elements of formA are inside the code! This only happens when i put custom html above or in the generated form code. I don do that anymore, so it does not happen now.
rockoladeluxe 28 Jul, 2011
I forgot I use Joonla 1.7 stable and the latest chronforms.
thanks, Roy
GreyHead 28 Jul, 2011
Hi Roy,

I've never seen code from one form appearing inside another - and I can't work out how it could happen :-(

But you've found a solution for now?

Bob
rockoladeluxe 29 Jul, 2011
Yes if I do not put HTML in the form's code it is allright.
So my forms will be quit plain, but that does not matter.
I also got used to work with Chronoforms, and overall it is very good & flexible.
thanks!

Roy
GreyHead 29 Jul, 2011
Hi Roy,

You can put any valid HTML into the forms. I have no idea why it is causing you problems :-(

Bob
This topic is locked and no more replies can be posted.