Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#625 2009-05-30 09:01:00

THE BLUE DRAGON
Member
From: Israel
Registered: 2007-11-16
Posts: 637
Website

Re: zem_contact_reborn 4.0.3.20

maniqui wrote:

Use simple quotes when nesting txp tags inside txp tags.

thanks!
works great =)

Offline

#626 2009-06-03 11:57:27

dl33
Member
Registered: 2006-06-17
Posts: 192
Website

Re: zem_contact_reborn 4.0.3.20

Is it possoible to have required pairs? So when field A is not filled in, field b has to be filled in and vice versa.

Offline

#627 2009-06-03 12:02:18

net-carver
Archived Plugin Author
Registered: 2006-03-08
Posts: 1,648

Re: zem_contact_reborn 4.0.3.20

dl33 wrote:

Is it possoible to have required pairs? So when field A is not filled in, field b has to be filled in and vice versa.

adi_contact might be able to do it.


Steve

Offline

#628 2009-06-04 13:01:19

Gallex
Member
Registered: 2006-10-08
Posts: 1,304

Re: zem_contact_reborn 4.0.3.20

Els wrote:

Gallex, as far as I know you can only enter an email address as a value for the from attribute, or in the from_form.

but, is it too much work to rewrite this part (sender name instead of email address into sender field of email header ) of a code?

client just so….relentless in this :(

Offline

#629 2009-06-04 13:10:28

THE BLUE DRAGON
Member
From: Israel
Registered: 2007-11-16
Posts: 637
Website

Re: zem_contact_reborn 4.0.3.20

from=“Your name <your@address.com>”

Offline

#630 2009-06-04 13:39:53

Gallex
Member
Registered: 2006-10-08
Posts: 1,304

Re: zem_contact_reborn 4.0.3.20

THE BLUE DRAGON wrote:

from=“Your name <your@address.com>”

into this place “Your name…” should appear the text which client has typed into “Your name” input field. not my name

Offline

#631 2009-06-07 13:43:13

yeahdisk
Member
Registered: 2006-01-23
Posts: 17

Re: zem_contact_reborn 4.0.3.20

Hi – I’m trying to split my existing contact form into 3 parts – and I would like to pass a text-field variable from the first part into the other parts…

Essentially, I want the first part to collect the USER ID and 2 other pieces of info.

Something like

<txp:zem_contact from="defaultfromemail" subject="User Details" to="mycompanyemail" >
       <txp:zem_contact_text label="USER ID" />
       <txp:zem_contact_text break="" label="Idea" />
       <txp:zem_contact_text break="" label="Timeframe" />
       <txp:zem_contact_submit label="Submit" />
</txp:zem_contact>

Then, when the user clicks submit, they should be presented with the second form.

I would like the text entered into the USER ID field from the first page to be pre-populated into the form on the second page??

Something like

<txp:zem_contact from="defaultfromemail" subject="User Details" to="myothercompanyemail" >
      <txp:zem_contact_text label="USER ID" />  //  This should be prepopulated with the USER ID entered on the first page?
      <txp:zem_contact_text break="" label="Company Name" />
      <txp:zem_contact_text break="" label="Job Title" />
      <txp:zem_contact_submit label="Submit" />
</txp:zem_contact>

Then, a third and final page with a separate form again – again prepopulated with the original USER ID in a text field??

Is that possible to pass variables between zem_contact using (i’m guessing) some txp:php tags??? And what would be the best way to go between forms? Would it be tp include the next zem_contact form in the ‘thanks’ form of the previous one???

I hope that makes sense – any help would really be appreciated!

(I am doing this because my existing form is a little bit long and unwieldly – If I can split it up it would really help me and my users).

Last edited by yeahdisk (2009-06-07 14:00:09)

Offline

#632 2009-06-08 06:19:59

mrsid
New Member
From: san francisco, CA
Registered: 2004-10-05
Posts: 4
Website

Re: zem_contact_reborn 4.0.3.20

Hello. I use zem_contact_reborn on my client’s site. He recently got a new domain (.aero) and when I try to use his new email address (using that new domain) the form outputs the error “Sorry, unable to send email.”
Is there anyway to add a list of valid domains to the script itself? Or would you suggest a different solution?

thanks!

Sid

Offline

#633 2009-06-08 15:28:52

yeahdisk
Member
Registered: 2006-01-23
Posts: 17

Re: zem_contact_reborn 4.0.3.20

Re: my previous post

I think I am almost there by embedding a second zem_contact form in the “thanks form” of the first form.

This allows me to pass on the required information, however the second zem_contact (the one embedded in the thanks form) does not work? I get no error messages when I click submit, but the thanks message does not show (the screen just goes back to showing the first form), and the contact email is not sent.

Any suggestions as to why this would happen?

zem_contact form 1:

<txp:zem_contact from="default@mail.com" subject="Info" to="company@mail.com" thanks_form="test_thanks" >
      <txp:zem_contact_text label="USERID" />
      <txp:zem_contact_submit label="Submit" />
</txp:zem_contact>

zem_contact form 2 (the one embedded within the form “test_thanks”:

<txp:zem_contact from="default@mail.com" subject="Info" to="company@mail.com" thanks="thankyou for your idea" >
    <txp:php>  
    global $zem_contact_form;
    echo zem_contact_secret(
      array(
        'label' => 'USERID',
        'value' => $zem_contact_form['USERID']
      )
    );
    </txp:php>
    <txp:zem_contact_text label="Idea" />
    <txp:zem_contact_submit label="Register" />
</div>
</txp:zem_contact>

Last edited by yeahdisk (2009-06-08 15:30:47)

Offline

#634 2009-06-18 14:51:29

husainhk
Member
From: Dubai, UAE
Registered: 2007-08-12
Posts: 105
Website

Re: zem_contact_reborn 4.0.3.20

Hi all,

Is it possible to implement a registration with verficiation with zem_contact_reborn? Any other alternatives are welcome too!

Thanks,
Husain

Offline

#635 2009-06-19 00:58:38

paperboy
Member
From: Gothenburg, SE
Registered: 2006-01-24
Posts: 30
Website

Re: zem_contact_reborn 4.0.3.20

Hi guys, I need some help with configuring for SMTP authorization… because all of a sudden my email-forms/newsletter stop working and my host tells me I need to use SMTP authorization. :( :(

I managed to edit the txplib_misc.php thanks to this: http://forum.webfaction.com/viewtopic.php?id=1916 and get that working but when I try digging in to the zem_contact (and postmaster) plugin I really don’t know exactly what to remove and replace with my limited knowledge of php.

So… any pointers would be much appreciated!

Oh yeah, I have the latest versions of TxP (4.0.8) and the plugins.

Last edited by paperboy (2009-06-19 01:00:13)

Offline

#636 2009-06-19 09:24:23

redbot
Plugin Author
Registered: 2006-02-14
Posts: 1,410

Re: zem_contact_reborn 4.0.3.20

paperboy,
if you read throught this forum around this page you will see I had a similar problem.
I didn’t manage to solve it but if you want I can forward you the email with amended files Joe kindly sent me.

Offline

Board footer

Powered by FluxBB