Support

  1. krnsgrffn
  2. General
  3. Monday, June 23 2014, 09:27 AM
I am successfully throwing errors when certain input does not meet requirements on the admin side and resetting fields as needed, but I would really like it if I could prevent the form from closing if whoever is editing hits save&close. This is to get around the fact that fields do not keep their required status on the admin side, and also to prevent non-unique answers in some cases. I don't need nor do I want to prevent the save, i just need to prevent the close.

Any help would be great.

Thanks.
admin Accepted Answer
Admin
Hi,
I did not understand so much the problem, can you explain me with an example?

in any case, keep in mind that Easy Profile not replace Joomla User management, Easy Profile extend it. The admin area is managed by Joomla com_users.
  1. more than a month ago
  2. General
  3. # 1
krnsgrffn Accepted Answer
Pro
Content Protected
  1. more than a month ago
  2. General
  3. # 2
admin Accepted Answer
Admin
You can use redirect on skeleton plugin, but this will not save the data.

Another way is to prevent non unique value, you can put in where this:
id NOT IN (SELECT DISTINCT partner_fieldalias FROM #__jsn_users  WHERE partner_fieldalias IS NOT NULL)


With next release the correct syntax will be:
id<>{user id displayedOrMe raw} AND id NOT IN (SELECT DISTINCT partner_fieldalias FROM #__jsn_users  WHERE partner_fieldalias IS NOT NULL)
  1. more than a month ago
  2. General
  3. # 3
  • 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.