• 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: Searching directories

Searching directories 9 years 7 months ago #32490

  • rmart
  • rmart's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 21
  • Thank you received: 1
I have 2 identical forms, both have different prices. The forms are identical except price. I have a search facility but it only searches one directory.

I need to pull the submissions from 2 directories, or alternatively save the form submissions from both forms to one directory.

Anyone know how to do this who can explain to a novice?
The administrator has disabled public write access.

Searching directories 9 years 7 months ago #32498

  • alexp
  • alexp's Avatar
  • OFFLINE
  • RSJoomla! Official Staff
  • Posts: 2253
  • Thank you received: 180
Given that you can't search in two directories in one single action, why not use a single form with to different prices ?
Please note: my help is not official customer support. To receive your support, submit a ticket by clicking here
Regards,
RSJoomla! Development Team
The administrator has disabled public write access.

Searching directories 9 years 7 months ago #32506

  • rmart
  • rmart's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 21
  • Thank you received: 1
because people will always choos ethe lower price.

example : i have registered members who pay £9.95 and non registered who pay £19.95, If I have a drop down menu non reg will simply choose the £9.95 option.

Or am i missing a way to do this?
The administrator has disabled public write access.

Searching directories 9 years 7 months ago #32507

  • alexp
  • alexp's Avatar
  • OFFLINE
  • RSJoomla! Official Staff
  • Posts: 2253
  • Thank you received: 180
Perhaps a built-in check / validation should be performed. By default all prices should be hidden. During the submission process, based on provided email address, you can check if the submitter is registered or not. This will allow you to determine the price.

Of course, some custom scripting might be required, but even so, it is a less daunting task then having RSForm!Pro search in two separate directories.
Please note: my help is not official customer support. To receive your support, submit a ticket by clicking here
Regards,
RSJoomla! Development Team
The administrator has disabled public write access.

Searching directories 9 years 7 months ago #32508

  • rmart
  • rmart's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 21
  • Thank you received: 1
Thanks Alex,

I have no idea how to do this, could I pay for you to do this for me ?
The administrator has disabled public write access.

Searching directories 9 years 7 months ago #32509

  • rmart
  • rmart's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 21
  • Thank you received: 1
By the way, I have found a simple work around for this, I can go to my php admin and change the form id in there to the correct form id, the submission is then sotred in the correct directory.

Is there a way to send the submission to a different directory automatically if the forms are identical?
The administrator has disabled public write access.

Searching directories 9 years 7 months ago #32512

  • alexp
  • alexp's Avatar
  • OFFLINE
  • RSJoomla! Official Staff
  • Posts: 2253
  • Thank you received: 180
You can try using the following script placed within the PHP Scripts > Scripts called after form process area:
$db = JFactory::getDBO();
$db->setQuery("UPDATE #__rsform_submission_values SET `FormId` = 'form id here where all submissions will be stored' WHERE `FormId` = 'form id where you don't want to store submissions'");
$db->query();
 
$db->setQuery("UPDATE #__rsform_submissions SET `FormId` = 'form id here where all submissions will be stored' WHERE `FormId` = 'form id where you don't want to store submissions'");
$db->query();

This will automatically change the form id of a submission.
Please note: my help is not official customer support. To receive your support, submit a ticket by clicking here
Regards,
RSJoomla! Development Team
The administrator has disabled public write access.

Searching directories 9 years 7 months ago #32514

  • rmart
  • rmart's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 21
  • Thank you received: 1
Fantastic, that worked perfect, thank you !

one other thing.

When a customer pays via paypal is there a way to automatically set the form to confirmed once payment is completed? I am currently having to do this manually.
The administrator has disabled public write access.

Searching directories 9 years 7 months ago #32515

  • alexp
  • alexp's Avatar
  • OFFLINE
  • RSJoomla! Official Staff
  • Posts: 2253
  • Thank you received: 180
I am guessing that you are not using the RSForm!Pro PayPal plugin as this is a built-in functionality. Can you provide a link to the form ?
Please note: my help is not official customer support. To receive your support, submit a ticket by clicking here
Regards,
RSJoomla! Development Team
The administrator has disabled public write access.

Searching directories 9 years 7 months ago #32516

  • rmart
  • rmart's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 21
  • Thank you received: 1
yes I am using the Paypal plug in

the form is lraregister.co.uk/index.php/assessment-g...duce-your-assessment
The administrator has disabled public write access.

Searching directories 9 years 7 months ago #32517

  • alexp
  • alexp's Avatar
  • OFFLINE
  • RSJoomla! Official Staff
  • Posts: 2253
  • Thank you received: 180
Please submit a support ticket about this.
Please note: my help is not official customer support. To receive your support, submit a ticket by clicking here
Regards,
RSJoomla! Development Team
The administrator has disabled public write access.

Searching directories 9 years 7 months ago #32518

  • rmart
  • rmart's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 21
  • Thank you received: 1
Thanks Alex, done that.
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!