Support

  1. [email protected]
  2. General
  3. Wednesday, May 13 2015, 07:36 PM
I've created a custom registration form with some required fields.

I've set the "View the form in tabs" field to yes.

Whenever I click the Register button, if some require fields are missing, it will not bring me to the tab containing these fields and will not display any error message.

I'm using EasyProfile 1.3.9 and Joomla 3.4.1.

Thanks
admin Accepted Answer
Admin
so you can't see messages.
In all Joomla forms (for example registration and contact form)
  1. more than a month ago
  2. General
  3. # 1
admin Accepted Answer
Admin
If I change the "View the form in tabs (Registered and edit profile views)" setting in EasyProfile to No, it starts to work as expected.
No, you not see only "is not focusable" warning because all fields are visible, but javascript error persists, so you can't see messages.

Error is "Uncaught TypeError: Cannot read property 'firstChild' of null"
  1. more than a month ago
  2. General
  3. # 2
[email protected] Accepted Answer
Pro
JoomFx has fixed their issue by disabling the RokBooster module. This module was already disabled on my site.

If I change the "View the form in tabs (Registered and edit profile views)" setting in EasyProfile to No, it starts to work as expected.

Do you have an idea on how I could troubleshoot to find the root cause?

Thanks
  1. more than a month ago
  2. General
  3. # 3
admin Accepted Answer
Admin
"is not focusable" not break javascript, this is due from the HTML 5 browser validation.

these fields are not focusable because are in hidden tab, but the tab is hidden because our javascript code is breaked.

It seems that the first error is related to the fact that the system message div is not found on the page.
I not think this. for example try to go at this link on your site: http://184.160.110.60:8523/securmedic/index.php/en/features/contact-us/contact-us-normal?tmpl=component
you will see the messages. So the problem depends from template or some module

Joomla is HTML 5 ready so validation is splitted in 2 systems (javascript and HTML5). Javascipt with messages is break.
  1. more than a month ago
  2. General
  3. # 4
[email protected] Accepted Answer
Pro
It seems that the first error is related to the fact that the system message div is not found on the page.

<div id="system-message-container">..
  1. more than a month ago
  2. General
  3. # 5
[email protected] Accepted Answer
Pro
Hi,

Thanks for the reply. As you are saying, in the contact-us form, validation is working just fine and there are no javascript errors. Only in the regsitration form using easy profile fields that I get javascript errors (see attached screenshot).
  1. more than a month ago
  2. General
  3. # 6
admin Accepted Answer
Admin
Hi,
Easy Profile use Joomla API to add custom fields on Joomla user registration/edit profile pages. These pages are the same of Joomla, tabs are generated by Javascript and custom fields added by user plugin.

Registration page use PHP class JForm to load forms as all Joomla built-in components. In your site there is some problem in all forms and this is not due to Easy Profile.

For example try on http://184.160.110.60:8523/securmedic/index.php/en/features/contact-us/contact-us-normal you can't see any error message and system generate Javascript error (see screenshot)

Error messages on Joomla forms are managed by Joomla.

This Javascript error is given also on registration page and break our code to show correct tab.

How to solve
I thinks this is a template problem, if I go on template provider site http://www.joomfx.com/demo/?theme=InsightFX I have same problem (Registration and Contact pages). So you need to contact your template provider.
  1. more than a month ago
  2. General
  3. # 7
admin Accepted Answer
Admin
Hi, can you please post me your site link?
  1. more than a month ago
  2. General
  3. # 9
admin Accepted Answer
Admin
Hi, can you please post me your site link?
  1. more than a month ago
  2. General
  3. # 10
  • 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.