ChronoEngine Forums
Welcome, Guest
Please Login or Register.    Lost Password?
Re:Request Info form with CSS (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 0
TOPIC: Re:Request Info form with CSS
#8495
johnsmith (User)
Fresh Boarder
Posts: 13
graphgraph
User Offline Click here to see the profile of this user
Re:Request Info form with CSS 2 Months ago Karma: 0  
Hi Bob,
Thank you for getting back to me. My site is going live on May 31 and I really want this form to work so that the kids can register for summer soccer games.
What I did was:
• Created the form
• Pasted the form code into the html code section
• Created the link for it by going to menu->component link and display it on my home page using a module.
• Completed the form, clicked submit button but nothing happens – no data submitted no feedback.
I suspect I need javascript function for submitting and validation?

Thanks
John
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#8497
GreyHead (Admin)
Support
Admin
Posts: 2905
graph
User Offline Click here to see the profile of this user
Gender: Male bobjanes Location: Brittany
Re:Request Info form with CSS 2 Months ago Karma: 62  
Hi John,

You don't need any JavaScript for submitting (and probably not for validation).

In the ChronoForms Forms Manager, open the form and turn DeBug to ON in the General Tab (and remove any ReDirect URL temporarily).

Save the form, then click on the Link for the form to display it in a new window. Put some data in and Submit the form. You should then get a screen-ful of debug info. Please copy and post that here for starters.

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.
#8502
johnsmith (User)
Fresh Boarder
Posts: 13
graphgraph
User Offline Click here to see the profile of this user
Re:Request Info form with CSS 2 Months ago Karma: 0  
Hi Bob,
I did exactly as you suggested and here is the out put
POST: Array ( [name] => test [text] => [day_phone] => 465555555 [email] => test@me.com [contact] => email [other_info0] => [chrono_verification] => DifAB [Submit] => Send to Oromia Sports )
Case 1: Use table layout
E-mail: 'Yes' custom
Email not sent
E-mail message

From: Tura []
To: info@oromiasports.com, test@me.com
Subject:
name test
text
day_phone 465555555
email test@me.com
contact email
other_info0
Submit Send to Oromia Sports
reset


Submitted by 205.211.160.1

I can see something get recorded when I checked on the Saved Dataview. I have attached the => Send to Oromia Sports )
Case 1: Use table layout
E-mail: 'Yes' custom
Email not sent
E-mail message

From: Tura []
To: info@oromiasports.com, test@me.com
Subject:
name test
text
day_phone 465555555
email test@me.com
contact email
other_info0
Submit Send to Oromia Sports
reset


Submitted by 205.211.160.1

I can see something get recorded when I checked on the Saved Dataview. I have attached the screen shot. Even though I completed the form, the data is not recorded properly - no names of people registered show up.
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#8505
johnsmith (User)
Fresh Boarder
Posts: 13
graphgraph
User Offline Click here to see the profile of this user
Re:Request Info form with CSS 2 Months ago Karma: 0  
sorry the image was too large to upload so here it is now.

only uploaded the output.
thanks
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#8507
GreyHead (Admin)
Support
Admin
Posts: 2905
graph
User Offline Click here to see the profile of this user
Gender: Male bobjanes Location: Brittany
Re:Request Info form with CSS 2 Months ago Karma: 62  
Hi John,

Thanks for that. There are two - probably separate - things going on here. First off nearly all your fields are named 'text'; what web forms do is to create a results slot for that name and write the results into it, when they find a second field with the same name the results from the first one are over-written. So all that's being returned in the $_POST array is the value of the last, empty text field. (Also 'text' is a not a good field name as it has other meanings in html.)

You need to rename your fields with either (a) different names text_1, text_2, . . .is fine, or (b) use an array name like text_resulti John,

Thanks for that. There are two - probably separate - things going on here. First off nearly all your fields are named 'text'; what web forms do is to create a results slot for that name and write the results into it, when they find a second field with the same name the results from the first one are over-written. So all that's being returned in the $_POST array is the value of the last, empty text field. (Also 'text' is a not a good field name as it has other meanings in html.)

You need to rename your fields with either (a) different names text_1, text_2, . . .is fine, or (b) use an array name like text_result[], you can put this in all your fields and the web browser will add each result to the array instead of over-writing. This would probably be good for your roster fields.

Second, there's a problem with the email being sent. ChronoForms is sending it to Joomla and something is going wrong after that - hence the 'Email not sent' message. Please check the FAQs here and look for the one about emails not being sent as there are several possible causes.

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.
#8508
johnsmith (User)
Fresh Boarder
Posts: 13
graphgraph
User Offline Click here to see the profile of this user
Re:Request Info form with CSS 2 Months ago Karma: 0  
Hi Bob,
I can't thank you enough for your help. I made the changes to name = text to name =text_1, 2 etc. Is this what you recommending me to change right? For example, see below but it didn't make any difference. please see the debug output at the bottom. By the way I didn't make changes the email yet though.

Code:

<legend><strong>Roster</strong></legend> <p><label1 for="name">1</label1><input name="text_4" type="text" size="40"> <p><label1 for="name">2</label1><input name="text_5" type="text" size="40"> <p><label1 for="name">3</label1><input name="text_6" type="text" size="40"> <p><label1 for="name">4</label1><input name="text_7" type="text" size="40"> <p><label1 for="name">5</label1><input name="text_8" type="text" size="40"> </p><br/>
FORM DEBUG OUTPUT
QUOTE:
_POST: Array ( [name] => 2008 [text_1] => oromia [day_phone] => 416280000 [email] => zesource@yahoo.com [text] => Oromia [text_2] => John Smith [text_3] => Mary Santos [text_4] => James [text_5] => Ogali [text_6] => Hassofalt smith [text_7] => James williams [text_8] => stehpan Baani [text_9] => Roger miller [text_10] => Robert santos [text_11] => Jenny craig [text_12] => Don Willimams [text_13] => Don Willimams [text_14] => Don Willimams [text_15] => Don Willimams [text_16] => Don Willimams [text_17] => Don Willimams [text_19] => Don Willimams [text_20] => Don Willimams [text_21] => Don Willimams [text_22] => Don Willimams [text_23] => Don Willimams [contact] => email [other_info0] => test [chrono_verification] => ixD4R [Submit] => Send to Oromia Sports ) Case 2: Use template E-mail: 'Yes' custom Email not sent
 
Report to moderator   Logged Logged  
 
Last Edit: 2008/05/17 05:29 By GreyHead.
  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