Support

  1. kennethefford
  2. General
  3. Sunday, April 27 2014, 08:32 PM
Hi,

I am once again struggling to understand the hide/show settings under the Parameter tab. I have a delimiter field with some text called User Agreement. I have a simple checkbox field called Show User Agreement that i only want to be either checked or unchecked.

I have NO default value assigned and NO options list settings. If I add any option settings it then shows the setting to the right of the check box, which I do not want. Because this is simply a check or no check box, should it not take on the values of 0 or 1 respectively? Or, 0 and non-zero?

I have a condition under the Parameter tab set as Egual > Custom Value = 0 and the Target Field set to User Agreement and the Target Action set to HIDE. It does nothing, absolutely nothing! Why not?

To me, that should result in "hidden when unchecked" and "shown when checked". How do I get this to work? I have tried the NOT EQUAL 0 and same result, nothing, other than now the User agreement field displays as hidden, but cannot ever be shown!

I am sorry, but I really do not follow how the logic works for the conditions. it simply does not follow what I would expect a logic condition to do.

Ken
Accepted Answer
kennethefford Accepted Answer
Pro
Thanks that worked. I use your option 3. It was tricky but finally got it how i wanted.
  1. more than a month ago
  2. General
  3. # Permalink
admin Accepted Answer
Admin
The options list is mandatory. Otherwise checkbox don't have a value

if you want hidden the label you have 4 option
1. hide with CSS
2. set a language constant empty
3. insert this code to options list: 1|
4 Use radio with Yes and No

1. You can add this css code to your template CSS
insert in options list: 1|empty
#jform_alias_of_field span{display:none}


2. Insert in option list: 1|EMPTY
Go to extensions->language->Override and create new language override with constant=EMPTY and text=nothing

3. You can insert in option list this: 1|
is html space.
one thing when you save the field if you go on option list you can't see but works
  1. more than a month ago
  2. General
  3. # 1
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.
Sorry, the discussion is currently locked. You will not be able to post a reply at the moment.

Request Support

Support is currently Offline

Support Availability

Working days: Monday to Friday. The support staff is not available on weekends; in the most of cases tickets will not be answered during that time.

Reply time: Depending on the complexity of your support issue it's usually between a few minutes and 24 hours for paid members and about one week for free members. When we expect longer delays we will notify you.

Guidelines

Before you post: read the documentation and search the forums for an answer to your question.

When you post: include Site Details if you request a support (you can use the form below the reply in Site Details tab).

Auto Solved Question: If after a week the author of the post does not reply to a request by moderator, the question will be marked as resolved.

Language: only English

Search Users

Easy Profile® is not affiliated with or endorsed by Open Source Matters or the Joomla Project. Joomla is Free Software released under the GNU/GPL License.