Support

  1. siddhi
  2. Features Request
  3. Thursday, June 02 2016, 01:54 PM
I have field called "profile" which has 3 options - actor, model and singer. I want to write a condition in such a way that if i select "actor" or "model" I need to show target field called "Height" and if I select singer I dont want to show that. How should I go about this? Plz help.

I tried it this way -

1st condition:
Operator:Equal
Compare with:Custom value
Custom value:Actor
Target Field:Height
Target Action:Show

2nd condition:
Operator:Equal
Compare with:Custom value
Custom value:model
Target Field:Height
Target Action:Show

2nd condition works everytime and not the 1st one.
admin Accepted Answer
Admin
Hi,
which type of field?
  1. more than a month ago
  2. Features Request
  3. # 1
siddhi Accepted Answer
its a select type field with three options
1.actor
2.model
3.singer
  1. more than a month ago
  2. Features Request
  3. # 2
admin Accepted Answer
Admin
Hi,
select field is available only on paid versions and you never bought valid subscription.
  1. more than a month ago
  2. Features Request
  3. # 3
siddhi Accepted Answer
Content Protected
  1. more than a month ago
  2. Features Request
  3. # 4
creintechsolutionsllp Accepted Answer
Pro
I have select field called "profile" which has 3 options - actor, model and singer. I want to write a condition in such a way that if i select "actor" or "model" I need to show target field called "Height" and if I select singer I dont want to show that. How should I go about this? Plz help.

I tried it this way -

1st condition:
Operator:Equal
Compare with:Custom value
Custom value:Actor
Target Field:Height
Target Action:Show

2nd condition:
Operator:Equal
Compare with:Custom value
Custom value:model
Target Field:Height
Target Action:Show

2nd condition works every time and not the 1st one.
  1. more than a month ago
  2. Features Request
  3. # 5
admin Accepted Answer
Admin
Great!

Conditions have 2 ways, so you can configure a single condition like this:
1st condition:
Operator: Equal
Compare with:Custom value
Custom value: Singer
Target Field: Height
Target Action: Hide

So condition become, if EQUAL to CUSTOM VALUE "Singer" then HIDE "Height" field otherwise SHOW "Height" field
  1. more than a month ago
  2. Features Request
  3. # 6
creintechsolutionsllp Accepted Answer
Pro
Thanks a lot......

I also have to add two more options to the select field like say - director and photographer

And if option is singer or director or photographer i will have to hide "height" and if it is actor or model I will have to show "height"

What should I do in such a case?

Plz help.
  1. more than a month ago
  2. Features Request
  3. # 7
admin Accepted Answer
Admin
To manage this you need to you values and contain condition, in your case you can have something like this:

actor_0|actor
model_0|model
singer_1|singer
director_1|director
photographer_1|photographer

if contain custom value "1" hide "Height" field

or something like

1|actor
2|model
3|singer
4|director
5|photographer

if great than custom value "2" hide "Height" field


Another alternative is to create 2 height (for actor and for model) fields, and set these conditions:
Condition 1: if equal to custom value "actor" show "Actor Height" field
Condition 2: if equal to custom value "model" show "Model Height" field
  1. more than a month ago
  2. Features Request
  3. # 8
creintechsolutionsllp Accepted Answer
Pro
Thanks a lot....will definitely try these solutions
  1. more than a month ago
  2. Features Request
  3. # 9
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.

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.