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.