• 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: Date picker dates using a [p]

Date picker dates using a [p] 9 years 10 months ago #31549

Hello,
I am trying to set a price for each day select on a date picker.
Is it possible to have a price using the [p] on the dates?

so, using calculation the total amount would multiple according to the more dates selected.
The administrator has disabled public write access.

Date picker dates using a [p] 9 years 10 months ago #31565

  • cosmin.cristea
  • cosmin.cristea's Avatar
  • OFFLINE
  • Platinum Boarder
  • Posts: 756
  • Thank you received: 144
At the current moment, RSForm!Pro does not have a functionality to add a price for a date selected in a calendar. However, please note that even if you could achieve this, the calendar available for RSForm!Pro allows only one date to be selected ( you can't select dates or a start and an end date ).

How I would do it (note that this would require moderate scripting knowledge):

- Create an empty checkbox group.
- In the frontend when a user clicks on a calendar date, I create a new checkbox item and append it to the group (so it can be removed later if it was misclick);
- After the user selects all the desired dates, i ask him for confirmation by "checking" the newly created items;
- Using PHP I verify what checkboxes were checked and send a new PayPal parameter based on the selection.

You can find more information on how to send custom PayPal parameters through RSForm!Pro here:
https://www.rsjoomla.com/support/documentation/view-article/1253-personalize-paypal-parameters-per-form.html

PS: This is merely an example, you will need to create something specific for your scenario.
My help is not official customer support. To receive your support, submit a ticket by clicking here
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!