• 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!

TOPIC: Display information submitted in a different form

Display information submitted in a different form 11 years 6 months ago #25282

hi
i have read over and over this article but i am embarrassed to say i still dont get it. :(
it will be very much appreciated if there was an illustration or video with sound for those of us who have very limited knowledge in php.

i have two forms in two different pages that need to link to each other.
the first form(form A) will have only name input field and a button (with the text"fill your name and press continue") ,

by pressing the button the user will be redirected to form B (another page).
and in that form (form b) the name that the user filled in form A will be displayed in the name field in form B ,so that the user wont have to fill it again.

can you help me to do the follow?:

1.how do i link form A to B ?
in the article they say to link forms by putting this place holder {global:submissionid} -but where exactly?will that make the link?
2.how to get the name value from form A to display in form B?
in the article they say to add this:
<fieldset class="formFieldset">
<legend>{global:formtitle}</legend>
{error}
Data submitted in a different form:
FullName field : {FullName:value}

and this
$submission_value = JRequest::getVar('submissionId');
list($replace, $with) = RSFormProHelper::getReplacements($submission_value);
$formLayout = str_replace($replace, $with, $formLayout);

but where ?? when i place them in the php script area, as is, nothing happens and it throws errors.
Last Edit: 11 years 6 months ago by arielmorry.
The administrator has disabled public write access.
  • 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!