1. drjjw
  2. Support
  3. Friday, March 20 2015, 07:21 PM
Hello,

1. If a user does not complete the registration form properly where custom fields are needed, in tab view, the user does not know there is an error if the incomplete field is not the active tab. The tab itself containing the incomplete field should be turn red for example
2. The avatar and file upload is problematic if un supported file type or if the file size threshold for the server is exceeded. Since ajax or something similar is no used, the file type and size is only compared after the page load. In my testing, I tried to upload a purposely large file and there was no error. The form saved but the image did not and no error appeared.

Jordan
admin Accepted Answer
Admin
Hi,

1. Sorry but registration form is the same of Joomla and validation of required fields is not managed by Easy Profile (client side), we use a plugin to add custom field and tabs are generated by a javascript. When you miss a required field Easy Profile go to tab of the field missed, highlight and messages are managed by Joomla. See screenshot from our site.

2. Yes, this is a simple uploader managed by Joomla API. For images you can use Crop & Webcam option (you will see this in avatar/image fields parameters)
  1. more than a month ago
  2. Support
  3. # 1
admin Accepted Answer
Admin
Sorry...screenshot :D
Attachments (1)
  1. more than a month ago
  2. Support
  3. # 2
drjjw Accepted Answer
Pro
I understand thank-you.

Regarding the avatar using the crop/webcam, if a file is uploaded and it's too large, the progress progress bar simply turns red. This might not be so obvious for users that it has failed. Is it possible to simply add a text alert in addition to the red bar?

Jordan
  1. more than a month ago
  2. Support
  3. # 3
admin Accepted Answer
Admin
Hi,
sorry for late reply, it's a weekend for us.

Is it possible to simply add a text alert in addition to the red bar?
Yes, should already be so, but for some reason does not work, so this is a bug and we will fix in next release.

FIX:
into file /administrator/components/com_jsn/helpers/fields/image.php at line 269 replace this:
return false;
with this:
echo json_encode(array('success' => false, 'data' => $errors[0]));


Thanks for your report ;)
  1. more than a month ago
  2. Support
  3. # 4
  • 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.