Support

  1. Filipe_Madeira
  2. Support
  3. Tuesday, June 02 2015, 06:57 PM
Hi there,

I'm using Easy Profile Basic and wondering if there is a way to do something like this:

In Field (Radio, as example), two otpions: Yes or No.
if User set Yes, open a blank box to introduce a value.

Is this something in use already? Or some new feature request?

Thanks in advance!
admin Accepted Answer
Admin
The idea is to hide all that div if the above field is set to "No".

Hi,
to do this you can use conditions of field "Cigarros Electronicos":
if equal to custom value "1" (or value for Yes*) show "Marca Cigarros Electronicos" fields

* I assume you have these options in "Cigarros Electronicos" field:
0|NO
1|YES
  1. more than a month ago
  2. Support
  3. # 1
Filipe_Madeira Accepted Answer
The idea is to hide all that div if the above field is set to "No".

Thanks in advance!
  1. more than a month ago
  2. Support
  3. # 2
Filipe_Madeira Accepted Answer
Hi there,

I'm trying to use this option, but with no results. Because all of them are wrapped in a div ".control-group" with no ID.

The best I can do is hide the field and not the all div... like the image.
  1. more than a month ago
  2. Support
  3. # 3
admin Accepted Answer
Admin
Hi,
Is this something in use already?
No sorry.

Or some new feature request?
Unfortunately we consider something like this a bit too complex and not very useful.

How to do:
I think the best way is to use javascript; each option have ID like this "jform_alias-of-field0", so for example field with alias "test" with Yes and No have these IDs for these options
Yes - jform_test0
No - jform_test1

You can write javascript like this to render a message when Yes is checked:
jQuery(document).ready(function($){
$("#jform_test0").change(function(){
if($(this).is(":checked")) alert("your message");
});
});

with this code for example when you click on Yes you will see a message with "your message" text.
  1. more than a month ago
  2. Support
  3. # 4
  • 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.