• 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,info submitted/indifferent form*not work

display,info submitted/indifferent form*not work 11 years 5 months ago #25412

  • webir
  • webir's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 1
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);

i passed all steps in official tutorial but,nothing happens and does not work,at all ! :unsure:
somebody help me plz ! is anyone that want to make a video turorial about 2 minute to show up this subject !
it could be better to put a video tutorial on youtube.com
The administrator has disabled public write access.

display,info submitted/indifferent form*not work 11 years 5 months ago #25417

  • adrianp
  • adrianp's Avatar
  • OFFLINE
  • RSJoomla! Official Staff
  • Posts: 631
  • Thank you received: 146
Hello,

First things first, will have to use the Submit field button and not a regular button:

www.rsjoomla.com/support/documentation/v...9-submit-button.html

1. The link will have to be added within the "Return URL" of your first form(backend > Components > RSForm!Pro > Manage Forms > your first form > Properties > Form Info > Return URL).

The URL you add here has to be similar to:

www.your-site-name.com/index.php?option=...{global:submissionid}

You can see the parameter is added at the end of the URL, this will redirect to the second form when the first form is submitted with that particular submissions ID at the end. You will have to replace "your-second-form-id"(found in the above URL) with the ID of your second form.

2. Next thing would be to edit your second form, go to the Properties tab > Form Layout. Here, you will have to add the placeholder(s) of your first form which will be replaced(with the submitted information from our first form) using the script at the end of the tutorial:

www.rsjoomla.com/support/documentation/v...-different-form.html

Make sure that you add the script as explained in the "Scripts called on form display" area.
This is not official customer support. To receive your support, submit a support ticket here.
The administrator has disabled public write access.

display,info submitted/indifferent form*not work 10 years 1 month ago #30817

  • RPPEO
  • RPPEO's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 68
  • Thank you received: 6
I realize this is an older thread, however we are trying to resolve the same question here and have been succesful UNTIL the user clicks Submit on FORM B, this results in an error, The form #0 does not exist or it is not published.

The Article Sited in the reply from RS Support also says:
Important: Starting with Version 1.49.0, the code provided above is no longer necessary, as we have introduced this functionality as a default feature. The How do I pass a parameter through the URL and how can I catch it article in our documentation explains how it's done.

I can't figure out based on the second article how we would use Form 10, SubmissionID 2, Values A, B and C, in Form 11.

Could this information be added to the new method's instructions published on this site here:
www.rsjoomla.com/support/documentation/v...can-i-catch-it-.html

Thank you.
The administrator has disabled public write access.

display,info submitted/indifferent form*not work 7 years 4 months ago #37684

"The form #0 does not exist or it is not published." means that the return URL is not defined properly. To find the proper url to your second form turn off the SEO. Publish the form in a menu and copy the url from your browser. that is the proper url.
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!