• 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: form for holiday weeks booking and calculation

form for holiday weeks booking and calculation 3 months 2 weeks ago #43810

Hey, first-time here

The scene.

Step 1:
The user can book one or more holiday weeks that have a price. I solved this with a checkbox group, each week has the same price.

Example (Page 1):
holidayweeks
holidayweek1:holidayweek1[p+680]
holidayweek2:holidayweek2[p+680]
etc.

Step 2(Page2):
On the next page, personal details are requested. And are also asked for any additional wishes.

Example:
Textfields:
first name, last name, street, address, etc.
Checkboxes:
additional_wish
wish1:value1[p+0]
wish2:value2[p+5]
wish3:value3[p+50]

With 1 registration per person, everything works as desired.

The problem:
You have to be able to register multiple people.

Step 3
Ask the user if he would like to register another person.

Example:
Checkbox (as condition field)
no_other_person:value
yes_other_person:value

If yes_other_person, then open the fields for the person 2 are shown, as in step 2. Only the queries from step 2 follow.

No question about holidayweek! These were determined on the first page.

The calculation should now be that if 2 people are specified: = 2 x person x number of holidayweek + additional_wish. For 3 persons: = 3 x person x number of holidayweek + additional wishes.

It would be easy to ask at the beginning how many people are registered. But I cannot use a conditional field for calculations. It should look like this:

I want to register 3 people, then all fields for 3 people should appear, i.e. first name, last name, address, telephone, etc.
Now I have read that you can also calculate with text fields.

I have not figured out how. I cannot find an example.

I could use and calculation the first name field. Calculation holidayweek * Name Field. Or something like that?

Unfortunately I had to translate this request. I hope you can understand what I mean. I think RSForm is good for this job, I used to work with Breezing, the company no longer exists.

Thank you

Regards René
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!