Display the result in the window

kallecux 19 Feb, 2009
Hello friends,

today i installed the ChromoForms Component and i have the folowing situation and question:

1. I create a form in my "Joomla-Site"
2. the content of the form is sent via "the "form" "action" URL" to my server (other location)
3. my server sends the result of the search back to the "Joomla-Site", but the result is displayed on a white page.

Is there a way to display the result on the same page at the bottom?

Many thanks

Karl Heinz
GreyHead 19 Feb, 2009
Hi Karl,

How are you sending the result back? You probably need to return to the form url and add some code to read and display the extra info.

Bob
kallecux 20 Feb, 2009
Hi Bob,

this is my code:

.......here i get the form details:

Local oClient := ThreadObject()
cVon := oClient:GetVar('von')
cNach := oClient:GetVar('nach')
cDatum := oClient:GetVar('datum')

..... my application will search in the databases.....
.
.
.
....and my application will send back the result....
oClient:HTTPResponse:Content := "<html><body>"+cResult+"</body></html>"


You know...i want to display the result within the "form page" or within "the yoomla frame".

Thanks - Karl Heinz
Max_admin 20 Feb, 2009
Hi Karl,

first of all, what type of JS tool you are using for
oClient:HTTPResponse:Content :

?

I think you need to use this with the form id which will be "ChronoContact_formanme" to fill the form with the result! this should be easy, you can use document.getElementbyId('formid').innerHTML = oClient:HTTPResponse:Content for example!

Cheers
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
kallecux 20 Feb, 2009
Hello Max,

the code "oClient:HTTPResponse:Content :" is beeing executed on my server - the server software is written with Alaska xBase++.

Within joomla only the "form action" command is beeing executed and the server replies the answer....OK?

Karl Heinz
Max_admin 20 Feb, 2009
Hi Karl,

then you need to use whatever Client side code you have to do something like my code above!

Cheers
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
kallecux 24 Feb, 2009
Thank you, i did it with > iframe <

Greetings
Karl Heinz
This topic is locked and no more replies can be posted.