Support

  1. viryagroup
  2. Support
  3. Tuesday, April 28 2015, 11:40 AM
Hi,
The client in our question at https://www.easy-profile.com/support/conditions-field.html came back to us asking for some more custom types and fields. However one of the requests has got us in a bit of a sticky area.

We now have the following 8 groups:
0|SPONSOR
1|DONOR
2|TRANSLATOR
3|MEMBER
4|VOLUNTEER
5|DOCTOR
6|THIRD PARTIES
7|CHILD

we have a birth date field that should be shown for all groups with a value greater than 3. However sponsor and third parties also need a company name field specific to them. How do I go about showing them these fields. I was assuming a contains would be the ideal solution but I couldn't find any documentation on how to use it?

Kind Regards,
George
admin Accepted Answer
Admin
Hi,
I think the best way is to use value like this:
sponsor_company|SPONSOR
donor|DONOR
translator|TRANSLATOR
member|MEMBER
volunteer_person|VOLUNTEER
doctor_person|DOCTOR
thirdparties_person_company|THIRD PARTIES
child_person|CHILD

and set these conditions:
- if contain custom value "person" show date of birth field
- if contain custom value "company" show company name field

ALTERNATIVE:
you can leave values like now and create 2 custom fields for name company:
- Sponsor Company Name
- Third Parties Company Name
and add these conditions:
- if equal to custom value "0" show Sponsor Company Name
- if equal to custom value "6" show Third Parties Company Name
  1. more than a month ago
  2. Support
  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 Online

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.