Notice

The forum is in read only mode.

Support Forum

Welcome! Support Forums have been reactivated
Welcome the Technical Support section. Help us in assisting you by providing us with a concise and descriptive elaboration of your issues. Be specific and if possible, provide us with a step-by-step instruction in replicating your problem.

problem with data-required in new field profile

11 years 5 months ago
Licenses:
JomSocial Active Socialize Expired

ISSUE SUMMARY: When i create a new field in profile and select "Required" this code is shown:

<select size="" style="" title="" true""="" class="select data-required=" name="field24" id="field24">....</select>

data-required=" ?


STEPS TO REPLICATE:
1
2
3
4
5
RESULT
EXPECTED RESULT
BROWSER

11 years 5 months ago
Licenses:

Hi Jaime,

could you please upgrade it to jomsocial latest version? 4.0.5
that issue has been fixed

Regards

11 years 5 months ago
Licenses:
JomSocial Active Socialize Expired

Ok. i did it but the problem continues with radio buttons

<div class=" data-required=" true"="" validate-custom-radio="" "="" style="display: inline-block;" title="">

11 years 5 months ago
Licenses:

Hi Jaime,

its a bug. here the temporary fix:
edit /components/com_community/libraries/fields/radio.php, at line 51, change the code from

$html	.= '<input type="radio" name="field' . $field->id . '" value="' . $option . '"' . $selected . '  class="radio '.$class.'" ' . $style .$readonly. ' />';
to
$html	.= '<input type="radio" name="field' . $field->id . '" value="' . $option . '"' . $selected . '  class="radio" '.$class.' ' . $style .$readonly. ' />';

Regards

11 years 5 months ago
Licenses:
JomSocial Active Socialize Expired

Ok.

in Check Box .. same problem :
<div class=" data-required=" true"="" validate-custom-checkbox"="" style="display: inline-block;">

Can you post the code to fix this too ?

11 years 5 months ago
Licenses:

Hi Jaime,

edit /components/com_community/libraries/fields/checkbox.php line 86, find this code

$html .= '<input type="checkbox" name="field' . $field->id . '[]" value="' . $option . '"' . $selected . ' class="checkbox '.$class . '"' .$style.' '. $disabled .'/>';
changing it to
$html .= '<input type="checkbox" name="field' . $field->id . '[]" value="' . $option . '"' . $selected . ' class="checkbox" '.$class . '"' .$style.' '. $disabled .'/>';

Regards

The following user(s) said Thank You: Jaime
11 years 5 months ago
Licenses:
JomSocial Active Socialize Expired

Thank you :)

11 years 5 months ago
Licenses:
JomSocial Active Socialize Expired

hello,

I have same option with < div > and is not possible continuing with the registration form

With Checkbox:

<div class=" data-required=" true"="" validate-custom-checkbox"="" style="display: inline-block;">

class=" data-required=" true"="" ??????

<input name="field20[]" value="COM_COMMUNITY_FIELDS_FREETIME1" class="checkbox" data-required="true" validate-custom-checkbox"="" style="margin: 0 5px 5px 0;" type="checkbox">

validate-custom-checkbox"="" ????

With Radio Buttons:

<div class=" data-required=" true"="" validate-custom-radio="" "="" style="display: inline-block;" title="">

class=" data-required=" true"="" ????????????????

11 years 5 months ago
Licenses:

Hi Jaime,

please edit your first post at this topic. and put FTP access detail at site info form.
I need to try it and put the code fixes at your site. with this way, I can more faster to tackle this issue.

Regards

11 years 5 months ago
Licenses:
JomSocial Active Socialize Expired

Ok. i did it

11 years 5 months ago
Licenses:

Hi Jaime,

please check it. I uploaded this files (unzip):

This attachment is hidden for guests.
Please log in or register to see it.


/components/com_community/libraries/fields/

that files are latest next version for 4.0.7, so this fixes will be included.

Regards

This message has an attachment file.
Please log in or register to see it.

Moderators: Piotr Garasiński
Powered by Kunena Forum

Join 180,000 websites creating Amazing communities

JomSocial is the most complete, easy-to-use addon that turns Joomla CMS into a
full -fledged, social networking site

TRY NOW BUY NOW