ChronoEngine Forums
Welcome, Guest
Please Login or Register.    Lost Password?
php with fieldset (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 0
TOPIC: php with fieldset
#8706
sailsmart (User)
Junior Boarder
Posts: 21
graphgraph
User Offline Click here to see the profile of this user
php with fieldset 1 Month, 1 Week ago Karma: 0  
Code:

<?php /* Subject and email variables */ $emailSubject = 'Sailing School Registration Form'; $webMaster = 'sailsmart@rogers.com'; /* Gathering data variables */ $mother_nameField = $_POST['mother_name']; $father_nameField = $_POST['father_name']; $home_phoneField = $_POST['home_phone']; $home_phone2Field = $_POST['home_phone2']; $mofficeField = $_POST['moffice']; $fofficeField = $_POST['foffice']; $mcellField = $_POST['mcell']; $fcellField = $_POST['fcell']; $mmemailField = $_POST['memail']; $femailField = $_POST['femail']; $emergcontactField = $_POST['emergcontact']; $emergphoneField = $_POST['emergphone']; $optimist_learn_to_sailField = $_POST['optimist_learn_to_sail']; $white_sail_1Field = $_POST['white_sail_1']; $white_sail_IIField = $_POST['white_sail_II']; $white_sail_IIIField = $_POST['white_sail_III']; $session_1Field = $_POST['session_1']; $session3Field = $_POST['session3']; $session5Field = $_POST['session5']; $session7Field = $_POST['session7']; $session2Field = $_POST['session2']; $session4Field = $_POST['session4']; $session6Field = $_POST['session6']; $session8Field = $_POST['session8']; $raceoptimistField = $_POST['raceoptimist']; $bronzeIVField = $_POST['bronzeIV']; $bronzeVField = $_POST['bronzeV']; $session1rField = $_POST['session1r']; $session2rField = $_POST['session2r']; $opti2monthsField = $_POST['opti2months']; $silversailVIField = $_POST['silversailVI']; $goldsailVIIField = $_POST['goldsailVII']; $month2Field = $_POST['month2']; $earlybirdField = $_POST['earlybird']; $latepickupField = $_POST['latepickup']; $botheandlField = $_POST['botheandl']; $lunchField = $_POST['lunch']; $body = <<< EOD <br><hr><br> Mother's Name: $mother_nameField <br> Father's Name: $father_nameField <br> Home Phone: $home_phoneField <br> Home Phone2: $home_phone2Field <br> Mother's Office: $mofficeField <br> Father's Office: $fofficeField <br> Mother's Cell: $mcellField <br> Father's Cell: $fcellField <br> Mother's Email: $memailField <br> Father's Email: $femailField <br> Emergency Contact: $emergcontactField <br> Emergency Phone: $emergphoneField <br> Optimist Learn to Sail: $optimist_learn_to_sailField <br> White Sail: $white_sail_1Field <br> White Sail II: $white_sail_IIField <br> White Sail III: $white_sail_IIIField <br> Session I: $session_1Field <br> Session 3: $session3Field <br> Session 5: $session5Field <br> Session 7: $session7Field <br> Session 2: $session2Field <br> Session 4: $session4Field <br> Session 6: $session6Field <br> Session 8: $session8Field <br> Race Optimist : $raceoptimistField <br> Bronze IV: $bronzeIVField <br> Bronze V: $bronzeVField <br> Session I Racing: $session1rField <br> Session 2 Racing: $session2rField <br> Optimist 2 Months: $opti2monthsField <br> Silver Sail Racing: $silversailVIField <br> Gold Sail Racing: $goldsailVIIField <br> 2 Months: $month2Field <br> Earlybird: $earlybirdField <br> Late Pick Up: $latepickupField <br> Both Earlybird and Late Pickup: $botheandlField <br> Lunch: $lunchField <br> EOD; $headers = "From: $email\r\n"; $header .= "Content-type: text/html\r\n"; $success = mail($webMaster, $emailSubject, $body, $headers,$success); /* Results rendered as html */ $theResults = <<< EOD <html> <head> <title>emailpage</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <style type="text/css"> <!-- body { background-color: #f1f1f1; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; font-style: normal; line-height: normal; font-weight: normal; color: #666666; text-decoration: none; } --> </style> </head> <div> <div align="left">Thank you for your interest! Your email will be answered very soon!</div> </div> </body> </html> EOD; echo "$theResults"; ?>
 
Report to moderator   Logged Logged  
 
Last Edit: 2008/06/18 00:53 By GreyHead.
  The administrator has disabled public write access.
#8709
GreyHead (Admin)
Admin
Posts: 2809
graph
User Offline Click here to see the profile of this user
Re:Request Info form with CSS 1 Month, 1 Week ago Karma: 59  
Hi sailsmart,

I have no idea what this is. It certainly doesn't look like nay kind of code that will work with ChronoForms (I know that it doesn't look right here - in part because of the heredocs in the middle.)

What is it supposed to be?

Bob
 
Report to moderator   Logged Logged  
 
Bob Janes
info at greyhead.net
ChronoForms Support If you like ChronoForms please vote or post a review at Joomla.org
  The administrator has disabled public write access.
#8768
johnsmith (User)
Fresh Boarder
Posts: 13
graphgraph
User Offline Click here to see the profile of this user
Re:Request Info form with CSS 1 Month, 1 Week ago Karma: 0  
Bang on John! That was the problem. Recreated the form with new fields and everything is showing now. Thank you very much.

Now I have past the first hurdle. I will continue learning this great tool.

Thank you and have a nice weekend ( if you live in North America that is)
John
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#9647
sketteksalfa (User)
Fresh Boarder
Posts: 4
graphgraph
User Offline Click here to see the profile of this user
Re:Request Info form with CSS 2 Weeks, 3 Days ago Karma: 0  
Thanks for this thread, im kinda having a fresh cool looks on my form now.
 
Report to moderator   Logged Logged  
 
www.pagbabahay.com - one of the leading real estate portal in the PHilippines.
  The administrator has disabled public write access.
Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop


equalheight If you have any questions you can post to our forums and we will be glad to help ASAP

Members Login






Lost Password?
No account yet? Register

2CheckOut.com Inc. (Ohio, USA) is an authorized retailer for
goods and services provided by ChronoEngine.com

ChronoForms License

equalheightTo be able to continue working at this component we decided to get a small profit out of it but at the same time don't force everybody to pay in order to use this great component.

 

 From version 1.5 and up a link at the bottom of everyform created will be placed, saying "joomla professional work", the link will be to us here htttp://www.chronoengine.com, its illegal to remove this link from the source code unless you have a license,

so the license is very simply for the same ChronoForms component without a link, thats all!

This License is for 5 different websites ONLY. 

 

 However, in order to allow everybody to still use the component and even get out of this, the link is inside a div with class : chronoform , use this to hide the link by using different colors or whatever if you really can't pay, but of course the link is still exists at your page source.

 

The license is ONLY 25$ can be bought here :

 

Thank you!

 

ChronoEngine.com Team 

Joomla Templates and Joomla Tutorials