• 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: How do I set the default value for a check box

How do I set the default value for a check box 16 years 4 months ago #5918

Hi,

On my form I have one checkbox. I like this checkbox to be checked by default. But there is no default value in the Checkbox Group. How can I still have it checked when the form is shown?

Kind regards
The administrator has disabled public write access.

Re:How do I set the default value for a check box 16 years 4 months ago #5920

Hi Hans,

If you would like to have your 'checkbox' checked by default, just add {checked} between 'check1' and '|description' in your default value.

So your default value will look something like this;

check1{checked}|Enkel,check2|Retour

This will do the trick.

Good luck...
The administrator has disabled public write access.

Re:How do I set the default value for a check box 16 years 4 months ago #5927

Hi Miguel,

Thanks for your quick reply. I can't find a default-field in a checkbox group. See attached picture. I used the field called items where I put this string:
nieuwart{checked}|Ik wens op de hoogte gehouden te worden van nieuwe artikelen

This way the checkbox is still not checked however...

Attachments:
The administrator has disabled public write access.

Re:How do I set the default value for a check box 16 years 4 months ago #5928

I found it. I have to put this in the items field:
Ik wens op de hoogte gehouden te worden van nieuwe artikelen[c]

I found it here:
http://www.rsjoomla.com/index.php/rsformpro.components.checkbox_group/Checkbox-group.html
The administrator has disabled public write access.

Re:How do I set the default value for a check box 16 years 4 months ago #5929

Ok now I see why my advice didn't work, you're using RSform! pro... :side: Anyway I'm glad you found the awnser to your question.

Succes en groetjes
The administrator has disabled public write access.

Re:How do I set the default value for a check box 16 years 4 months ago #5933

Ok, Good to know the Pro version is more different than I thought.
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!