Form Calculator - send form results to a 2nd form

Post any questions you may have here

Form Calculator - send form results to a 2nd form

Postby fa1zz on Tue Mar 25, 2008 9:27 pm

Hi

Chronoforms is an excellent Component! Thanks!

A question... :)
I'm not really the PHP-Coder, but i get some help. For this i need some introductions about Chronoforms.

Question:

I done a form which some Inputs.
Example:

How many dogs: ___
How many cats: ___
How many ????: ___
etc.

And now i want to send the inputs to the next form for calculate. For example like this:

dogs * 5 = ResultDogs
cats * 3 = ResultCats
???? + 5 = Result????
etc.

ResultDogs + ResultCats + Result???? = ResultFinal


How can i send the Inputs on a second Form? Is it possible to do this with the submit URL?


Greetings from Switzerland!
fa1zz
Fresh Boarder
 
Posts: 6
Joined: Tue Mar 25, 2008 2:18 pm

Re:Form Calculator - send form results to a 2nd form

Postby GreyHead on Wed Mar 26, 2008 12:47 am

Hi fa1zz,

There's nothing in ChronoForms that will do this for you but it's fairly simple to do on your form with a little JavaScript.

Try a Google search on 'Javascript forms multiply'

Bob
Bob Janes
info at greyhead.net
ChronoForms Support If you like ChronoForms please vote or post a review at Joomla.org
User avatar
GreyHead
Platinum Boarder
 
Posts: 3082
Joined: Tue May 29, 2007 10:15 pm
Location: Brittany

Re:Form Calculator - send form results to a 2nd fo

Postby fa1zz on Wed Mar 26, 2008 2:13 am

Yes, i found something and i try it.

Thanks for the hint.
fa1zz
Fresh Boarder
 
Posts: 6
Joined: Tue Mar 25, 2008 2:18 pm

Re:Form Calculator - send form results to a 2nd fo

Postby fa1zz on Mon May 12, 2008 1:35 pm

hi bob

is it possible to get informations with the variable $_Post from a wrapped form?
fa1zz
Fresh Boarder
 
Posts: 6
Joined: Tue Mar 25, 2008 2:18 pm

Re:Form Calculator - send form results to a 2nd fo

Postby GreyHead on Mon May 12, 2008 1:43 pm

Hi fa1zz,

I'm not sure what a 'wrapped' form is . . .? One that uses the ChronoForms mambot/plugin? but in general, yes the whole $_POST array is available.

Bob
Bob Janes
info at greyhead.net
ChronoForms Support If you like ChronoForms please vote or post a review at Joomla.org
User avatar
GreyHead
Platinum Boarder
 
Posts: 3082
Joined: Tue May 29, 2007 10:15 pm
Location: Brittany

Re:Form Calculator - send form results to a 2nd fo

Postby fa1zz on Mon May 12, 2008 4:31 pm

Hi Bob

I mean a Form (form.php) in Joomla Wrapper. Now you understand me?
fa1zz
Fresh Boarder
 
Posts: 6
Joined: Tue Mar 25, 2008 2:18 pm

Re:Form Calculator - send form results to a 2nd fo

Postby admin on Tue May 13, 2008 3:39 pm

Hi,

Write any php code you want in the onsubmit before email box and it will get executed!

Cheers

Max
ChronoForms Developer Thanks for using ChronoForms.
If you have any problems with ChronoForms please tell us.
If you like ChronoForms please post a review at Joomla.org
User avatar
admin
Platinum Boarder
 
Posts: 1790
Joined: Mon Aug 14, 2006 5:29 am


Return to Questions & Answers

Who is online

Users browsing this forum: Alexa [Bot], Yahoo [Bot] and 1 guest