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
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
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
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
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
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
Hi Karl,
first of all, what type of JS tool you are using for
?
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
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
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
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
Hi Karl,
then you need to use whatever Client side code you have to do something like my code above!
Cheers
Max
then you need to use whatever Client side code you have to do something like my code above!
Cheers
Max
This topic is locked and no more replies can be posted.