• 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: Load 'subform' depending on checkbox value

Load 'subform' depending on checkbox value 13 years 4 months ago #15896

  • tombee
  • tombee's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 4
Hi!

I wonder if someone knows how to achieve this...

I want to build one default form where one fills out e.g. name and e-mail and after that make a unique choice by clicking a checkbox.
Depending on the choice, a 'subform' needs te be loaded (so not just one extra field) to continu.

Ofcourse in the end all values need to be submitted (name, e-mail, values of subform1 or subform2).

Is this possible?

Regards.

Tom
Last Edit: 13 years 4 months ago by tombee.
The administrator has disabled public write access.

Re: Load 'subform' depending on checkbox value 13 years 4 months ago #15904

Hi Tom,

First start making a Show/Hide field form.
See: www.rsjoomla.com/support/documentation/v...-or-hide-fields.html
demo.rsjoomla.com/fex
www.rsjoomla.com/forum/37-rsform-pro/155...howhide-textbox.html

If i'm not mistaken this will even solve the validation question
Regards
Wilco Alsemgeest

Please note: my help is not official customer support. To receive your support, submit a ticket by clicking www.rsjoomla.com/my-support-tickets.html
The administrator has disabled public write access.

Re: Load 'subform' depending on checkbox value 13 years 4 months ago #15905

  • learnthrusong
  • learnthrusong's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 26
  • Thank you received: 3
Hi there,

Depending on your level of programming, this may be easier to achieve using more than 1 form. This is quite easy to do as you would use the urls of the forms you want to give as options in the value of say a select list or dropdown like...

"
site.foo/option_1_link.php|Option 1
site.foo/option_2_link.php|Option 1
" ... etc.

Then, (if 'my_options' was the id of your options field)all you need to do is add {my_options:value} to the return url. When your user submits, they'll be redirected to the link for the option they selected. You can also pass form values in the url by adding them in the query string - search the forum for 'pass url parameters' as it's been covered plenty and check out www.rsjoomla.com/forum/37-rsform-pro/129...r-passed-in-url.html

There are a number of other ways to achieve this all of which are more advanced than this.

Hope it helps,

Gez
Last Edit: 13 years 4 months ago by learnthrusong. Reason: ADD link
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!