Forums

Form Calculator - send form results to a 2nd form

fa1zz 25 Mar, 2008
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!
GreyHead 26 Mar, 2008
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
fa1zz 26 Mar, 2008
Yes, i found something and i try it.

Thanks for the hint.
fa1zz 12 May, 2008
hi bob

is it possible to get informations with the variable $_Post from a wrapped form?
GreyHead 12 May, 2008
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
fa1zz 12 May, 2008
Hi Bob

I mean a Form (form.php) in Joomla Wrapper. Now you understand me?
Max_admin 13 May, 2008
Hi,

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

Cheers

Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
This topic is locked and no more replies can be posted.