Support

  1. carlos-bahiana
  2. Features Request
  3. Tuesday, January 21 2020, 01:51 PM
Hi there

I have an EasyProfile form with "Registry Name" (associated with Joomla's firstname) and "Artistic Name" (artistic_name).

Registry Name is required, but Artistic Name is optional. Not all subscribers have an artistic name, but those who have would rather use it instead of their registry name alone, without the registry name. For legal reasons I have to have the Registry Name filled.

I know there's the possibility at Options > Core Fields to select a "Custom" display format name and choose a specific field to be used, but I can't see how to make this conditional (only use if artistic_name is empty or null).

Can you help me?
admin Accepted Answer
Admin
Hi,
unfortunately this is not possible natively anyway there is workaround.
- Create a field of type HTML delimiter with alias "firstname_display" and in description put a code like this
{user firstname displayed raw}
, set this field to be not available in profile/edit profile/registration form
- Create a field of type HTML delimiter with alias "artisticname_display" and in description put a code like this
{user artistic_name displayed raw}
, set this field to be not available in profile/edit profile/registration form
- Set following conditions in field "artistic_name":
1) if equal to custom value empty (leave empty custom value parameter) then show field "artisticname_display" (inverse Yes)
2) if equal to custom value empty (leave empty custom value parameter) then hide field "firstname_display" (inverse Yes)
- In Easy Profile options set display format name like this
{firstname_display}{artisticname_display}


Basically the field name is composed by HTML delimiter field type, but these fields are available only in according with conditions of "artistic_name" field.

Doc:
- Content plugin is used to show in HTML delimiter fields the value from other fields: http://docs.easy-profile.com/index.php/article/content-plugin
  1. more than a month ago
  2. Features Request
  3. # 1
carlos-bahiana Accepted Answer
Thank you so much!

The only modification I made was inverting the conditions in field "artistic_name":

1) if equal to custom value empty (leave empty custom value parameter) then hide field "artisticname_display" (inverse Yes)
2) if equal to custom value empty (leave empty custom value parameter) then show field "firstname_display" (inverse Yes)

And it's working like a charm.

Now I just need to learn how to apply this to other components.
  1. more than a month ago
  2. Features Request
  3. # 2
  • 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.