• 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: Implementing a fork in a form with many fields

Implementing a fork in a form with many fields 1 year 4 months ago #43139

Hi All,

This is about students of an academy filling an application form to be accepted to the academy. The fields to fill depend to which group a student belongs, knowing there are only 2 groups and about 20 fields per group. The two groups have about 5 common fields only to be filled at the end of the application form. All other fields are related to a single group.
The question to what group a student belongs would be asked as a first question.

I can use conditional fields but I feel uncomfortable to use so many conditions. What is the best approach to implement this use case?
The administrator has disabled public write access.

Implementing a fork in a form with many fields 1 year 4 months ago #43143

  • iceferret
  • iceferret's Avatar
  • OFFLINE
  • Gold Boarder
  • Posts: 246
  • Thank you received: 64
I would still use conditional fields, it's the simplest approach
If you can keep your head when all about you are losing theirs, then you obviously don't understand the situation!
The administrator has disabled public write access.

Implementing a fork in a form with many fields 1 year 4 months ago #43144

Thank you for your reply.

I thought over this again and again and I think the best solution is to have 3 forms: "welcome" & "group 1" & "group 2"

Form "welcome": the welcome form includes a radio group field that asks to which of the two groups they belong. The values of the two radio items are two URLs, being a link to the form of "group 1" and to the "group 2". The form info property has the "Submission return URL" equal to the radio group value {group:value}. And this "welcome" form is set not to store submissions in the database.

Form "group1" and form "group 2": two independent forms with their own submissions.

That works great, I implemented it last night. The only thing is that I'll have two independent set of submissions that I would need to merge in the excel file issued from an export. Not big deal but would be nice to improve.

Also, I have a field "counter" of submissions for each of the two forms. I would like that this counter be unique.
The administrator has disabled public write access.

Implementing a fork in a form with many fields 1 year 4 months ago #43145

  • iceferret
  • iceferret's Avatar
  • OFFLINE
  • Gold Boarder
  • Posts: 246
  • Thank you received: 64
This is from a totally different database but i wrote a php file to query and return data I wanted to make a print list for a club newsletter, then in excel data I selected options that led to the files url and imported the data it returned. You could use that method with the submissions table perhaps
If you can keep your head when all about you are losing theirs, then you obviously don't understand the situation!
Last Edit: 1 year 4 months ago by iceferret.
The administrator has disabled public write access.
The following user(s) said Thank You: roland.bialobroda
  • 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!