Support

  1. catchlightpro
  2. General
  3. Thursday, August 08 2019, 08:05 PM
  4.  Subscribe via email
We have 63 fields on a large Joomla Profile form. They are required fields (we ask user to enter "NA" if not applicable). We have enabled "Force the compilation of the required fields on login".

When the user is auto directed to the Edit Profile, he sees a huge Joomla Warning (message) box:

Warning
Some required fields are not filled, please complete your profile
Invalid field: field_label_1 ( group )
Invalid field: field_label_2 ( group )
...
...
Invalid field: field_label_63 ( group )


This is big and scary for the new user and we would like to hide the individual "Invalid field..." rows.
We only want to show the simple message, "Some required fields are not filled, please complete your profile".

Is this possible and how do we do that? Thanks!
catchlightpro Accepted Answer
Also, would if be possible to not show this warning message at all until the user actually clicks the "Submit" button?
  1. 2 weeks ago
  2. General
  3. # 1
admin Accepted Answer
Admin
Hi,
unfortunately this is not possible with a simple way. We will add to our TODO list the possibility to remove the list of fields in future releases.

For now you can make following minor custom hack to hide entire message:
- In file /plugins/system/jsn_system/jsn_system.php comment (or delete) the line 250
if(JFactory::getApplication()->input->get('task')!='profile.save' && JFactory::getApplication()->input->get('task')!='save') $app->enqueueMessage(JText::_('COM_JSN_COMPLETEREGISTRATION').'<br />'.$messageFieldsText,'warning');
  1. 2 weeks ago
  2. General
  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.