Page 1 of 1

Adding text to email form

Posted: Wed 31. Mar 2004, 01:53
by Sarah
Prior to the "submit" button, I'd like to add some language regarding the form, along the lines of "by pressing submit, you understand that..." etc.

However, I cannot add plain old regular text to the email form and have it appear above the "Submit" button. When I update the changes, the text disappears.

How can I add text without adding an email form field?

Thank you.

Posted: Wed 31. Mar 2004, 03:43
by ionrock
You can add a text content type (plain text/html/WYSIWYG) with your text and have your email form content type below. I wrote an article about it (using content types) on my site below. Hope it helps.

Posted: Wed 31. Mar 2004, 04:00
by Sarah
Hi there-

What a great site- thank you!

But I am not sure your guides answer my problem.

I would like to do the following:

Under this code:

IT|fname|1|First Name: |40,100||300
IT|lname|1|Last Name: |40,100||300
IT|camper_name|1|Child's Name: |40,100||300
IT|grade|1|Current Grade: |40,100||300
IT|age|1|Current Age:|40,100||300
IT|address|1|Address: |40,100||300
IT|city|1|City: |40,100||300
IT|state|1|State: |40,100||300
IT|zip|1|Zip: |40,100||300
SC|country|0|Country: |10,100|US|300
IT|tel|0|Telephone: |40,100||300
IT|fax|0|Fax: |40,100||300
IT|email|1|Email: |40,100||300

I would like to say

"By clicking 'Submit' I agree to the...etc"

THEN have the "Submit" button appear underneath that statement.

Any ideas?

Posted: Wed 31. Mar 2004, 05:03
by DeXXus
Sarah wrote:Hi there-

What a great site- thank you!

But I am not sure your guides answer my problem.

I would like to do the following:

I would like to say

"By clicking 'Submit' I agree to the...etc"

THEN have the "Submit" button appear underneath that statement.

Any ideas?
Is this ~too~ cheesy??
IT|fname|1|First Name: |40,100||300
IT|lname|1|Last Name: |40,100||300
IT|camper_name|1|Child's Name: |40,100||300
IT|grade|1|Current Grade: |40,100||300
IT|age|1|Current Age:|40,100||300
IT|address|1|Address: |40,100||300
IT|city|1|City: |40,100||300
IT|state|1|State: |40,100||300
IT|zip|1|Zip: |40,100||300
SC|country|0|Country: |10,100|US|300
IT|tel|0|Telephone: |40,100||300
IT|fax|0|Fax: |40,100||300
IT|email|1|Email: |40,100||300
TA|msg|1|Disclaimer:&nbsp;|20,4|[PHP]echo "By clicking the <Submit> button below... I shall agree to abide by the conditions that have been set forth in the membership rules and further more... accept all conditions, etc.";[/PHP]|300

Cheesy?

Posted: Wed 31. Mar 2004, 05:42
by Sarah
Oh but of course it is cheesy. But I am not the attorney who came up with the language so oh well.

And your suggestion was very clever but, alas, did not work. It yielded a wonky text field with all of the included text, from "php echo" all the way to the end within it.

Is there a code to just type text like |TX| instead of |IT| or |SC|?

Re: Cheesy?

Posted: Wed 31. Mar 2004, 09:43
by DeXXus
Sarah wrote:Oh but of course it is cheesy. But I am not the attorney who came up with the language so oh well.

And your suggestion was very clever but, alas, did not work. It yielded a wonky text field with all of the included text, from "php echo" all the way to the end within it.

Is there a code to just type text like |TX| instead of |IT| or |SC|?
I meant "cheesy" as in it just being ~another~ field of the form ;-)

BTW, when I cut & paste "my" suggestion, into an article, as content-type "email form"... it shows ~only~ the disclaimer "text" and ~not~ the PHP tags, etc. BUT it is not the ideal way to present your desired result, sorry :roll:

Posted: Fri 2. Apr 2004, 04:50
by Sarah
If there is no way to entire plain text in the email form field, is there a way to make a email input field conditional?

For example, if someone enters that their age is <13, can I have their "submission" immediately forwarded to a different page that asks them to have their parents call for an application?