Support

  1. verdelino
  2. General
  3. Friday, May 15 2015, 03:07 PM
Hi,

I am having trouble understanding conditions...
I assume they would make my request possible, but I really really don't understand the procedure.

So, we have a website for pet owners, and in registration, only the details about the owner are required.
As an option (not required) there is a set of fileds (a group) called MY PET, so they can fill fields for a pet.

The problem is, that some users have more than one pet. So, maybe 2 pets, maybe 5 pets, maybe 10, why not :)

Creating 10 tabs called "MY PET 1", "MY PET 2", ....... is really messy and not logical.

So, we would like next thing:

On the user profile, a button or a field:

"DO YOU HAVE (ANOTHER) PET?"

If YES, a group of fields opens.

Could you help me with that?

Thank you
Accepted Answer
admin Accepted Answer
Admin
Hi,
install this plugin from Joomla Installer ;)
Attachments (1)
  1. more than a month ago
  2. General
  3. # Permalink
admin Accepted Answer
Admin
Hi,
you can do something like this

set fields so:

Profile tab
Firstname
Lastname
Email
Password
Have you a pet? (ANOTHERPET1)

Pet 1 tab
Pet name (PETNAME1)
Have you another pet? (ANOTHERPET2)

Pet 2 tab
Pet name (PETNAME2)
Have you another pet? (ANOTHERPET3)

Pet 3 tab
Pet name (PETNAME3)

ANOTHERPET1, ANOTHERPET2, ANOTHERPET3 can be of type checkbox with this options:
1|Yes

now set following conditions:
ANOTHERPET1: if equal to custom value 1 show fields PETNAME1 and ANOTHERPET2
ANOTHERPET2: if equal to custom value 1 show fields PETNAME2 and ANOTHERPET3
ANOTHERPET3: if equal to custom value 1 show fields PETNAME3

NOTE Easy Profile is only a profiler component, to do this we recommend to use a listing component.
  1. more than a month ago
  2. General
  3. # 1
verdelino Accepted Answer
Hi,

ok this is good and it's kind of working, but I still have all those tabs listed (pet1, pet2, pet3...), and they are empty if user does not say he has a pet. So, user still has to go "next" a couple of times if he wants to avoid giving informations about pets.

Is it possible to hide tabs which are (at this moment) empty? If I do this for 15 pets, I will have 15 empty tabs..

You said that you recommend a listing component. If this is some smarter way of dealing with this problem, could you please provide some information (link or something) to this listing component tutorial?

Thank you
  1. more than a month ago
  2. General
  3. # 2
krnsgrffn Accepted Answer
Pro
I am in the same boat. so this solution is perfect. The problem with a list manager (I looked around at some) is that they are not designed to attach information to specific users. In other words, this information (people's pets) is part of the specific user's profile. it is not a generic list that can belong to anyone. If a user is deleted, so should all this info. so Easy Profile really is one of the only components out there that provides for this type of expanded data capture for registered users. I understand you look at it as just a simple profile component, but I guarantee it is being used for so much more than that!
  1. more than a month ago
  2. General
  3. # 3
admin Accepted Answer
Admin
Is it possible to hide tabs which are (at this moment) empty?
Yes, I see your site and now we have understand the problem, empty tabs should hide, but there is a problem, in a recent update we have added on each tab the text "* Required field" (see screenshot), so now the tab not is empty. On monday we will prepare a fix for this.

Thanks, this is important report.
Attachments (1)
  1. more than a month ago
  2. General
  3. # 4
verdelino Accepted Answer
Content Protected
  1. more than a month ago
  2. General
  3. # 5
verdelino Accepted Answer
Hi,

thank you, I installed the plugin, and here's the situation - it works for one tab, and for another tab it's not working :P

So, I have 3 tabs:

OWNER INFORMATION
MY PET 1
MY PET 2

by default, visible tabs are owner information (which is good), and MY PET 2.

MY PET 1 is not visible, that's OK, but nor should MY PET 2 be visible.

Am I doing something wrong, or...?
  1. more than a month ago
  2. General
  3. # 6
admin Accepted Answer
Admin
Hi,
Easy profile append in last tab Captcha code, so Pet 2 is not empty.

Solutions:
- Remove captcha
- Add another tab like "Terms of Service"
  1. more than a month ago
  2. General
  3. # 7
verdelino Accepted Answer
Content Protected
  1. more than a month ago
  2. General
  3. # 8
verdelino Accepted Answer
Hi,

I have a problem.

Everything works as predicted now.
But my registration form is unpredictable.
It is not saving data.

I make a new account, and i fill data for one pet, and no data is shown in my profile. Even when I edit my profile, I see that everything about my pet got deleted.

Could I ask you to maybe try to create an account (you have english version of the site), and fill some data about one pet, and then go to Control panel, choose My profile, and see what is missing.

I also sent you data for backend.

Everything works in registration form, but results are not good. Maybe I did something wrong with conditions?

Thank you
  1. more than a month ago
  2. General
  3. # 9
admin Accepted Answer
Admin
Hi,
I have tried to register a user with username "test" with 1 pet and works.
  1. more than a month ago
  2. General
  3. # 10
verdelino Accepted Answer
Hy,

I see, but I don't see information about your pet on your profile. Do you see all information when you go to your profile? Everything should be public.

Thank you
  1. more than a month ago
  2. General
  3. # 11
admin Accepted Answer
Admin
Ok, I have found the problem.

There is a issue with checkbox fields. checkbox can have multiple values, so "equal" condition generated a problem. for now you can use "contain" operator (I have already changed this on your site).

We will investigate and make a fix for next release.
  1. more than a month ago
  2. General
  3. # 12
verdelino Accepted Answer
Hi,

I tried it now, and everything seems fine.
Thank you very much for your patience and help.

Is there any way to restore data from all users whose data was deleted? All users who registered, now have only personal information, and pet information is gone.

Thank you
  1. more than a month ago
  2. General
  3. # 13
admin Accepted Answer
Admin
Is there any way to restore data from all users whose data was deleted? All users who registered, now have only personal information, and pet information is gone.
No sorry :(
  1. more than a month ago
  2. General
  3. # 14
verdelino Accepted Answer
Content Protected
  1. more than a month ago
  2. General
  3. # 15
  • 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.