- Posts: 26
- Thank you received: 0
Field Constrains do not apply correct
10 years 7 months ago #230743
by iq-guru
Field Constrains do not apply correct was created by iq-guru
-- HikaShop version -- : actual
-- Joomla version -- : 3.4.8
-- PHP version -- : 5.5.9
-- Browser(s) name and version -- : Chrome (actual)
Hi,
i just tried to set up a simple constrained field set for the user registration process.
So i have a radiobutton group for "are you a student" yes /no. This is mandantory. I f yes then a second radiobutton group is/should be shown shown "university name hda" yes/no. After user clicks yes several other fields and dropdowns should be shown. So i setup these constrains like explained in the documentation of fields but all fields are always shown. For my understanding the second radiobutton group should show if the user selects in the first radio button group "yes" and if he selects yes in the second group the other fields that are dependent to the second radio button group should be shown.
At the moment everything is shown right from the first moment.
You can try this on my devsite -> Login -> Register new account. For a better understanding i add some screenshots of the configuration.
Did i miss anything with constraining fields as it seems to be very simple?
Thanks for your help in advanced !
carsten
-- Joomla version -- : 3.4.8
-- PHP version -- : 5.5.9
-- Browser(s) name and version -- : Chrome (actual)
Hi,
i just tried to set up a simple constrained field set for the user registration process.
So i have a radiobutton group for "are you a student" yes /no. This is mandantory. I f yes then a second radiobutton group is/should be shown shown "university name hda" yes/no. After user clicks yes several other fields and dropdowns should be shown. So i setup these constrains like explained in the documentation of fields but all fields are always shown. For my understanding the second radiobutton group should show if the user selects in the first radio button group "yes" and if he selects yes in the second group the other fields that are dependent to the second radio button group should be shown.
At the moment everything is shown right from the first moment.
You can try this on my devsite -> Login -> Register new account. For a better understanding i add some screenshots of the configuration.
Did i miss anything with constraining fields as it seems to be very simple?
Thanks for your help in advanced !
carsten
Please Log in or Create an account to join the conversation.
10 years 7 months ago - 10 years 7 months ago #230748
by nicolas
Replied by nicolas on topic Field Constrains do not apply correct
Hi,
Can you try to move the line:
after the line:
in the file components/com_hikashop/views/user/view.html.php and then try again ?
Can you try to move the line:
Code:
$this->assignRef('user',$user);
Code:
$fieldsClass->jsToggle($this->extraFields['user'],$user,0);
in the file components/com_hikashop/views/user/view.html.php and then try again ?
Last edit: 10 years 7 months ago by nicolas.
Please Log in or Create an account to join the conversation.
10 years 7 months ago #230776
by iq-guru
Replied by iq-guru on topic Field Constrains do not apply correct
Hi,
ok tried this but it did not change anything.
So i moved it back as it was to not have any unwanted side effects. Will it help if you have ftp access? I have sent you my ftp data a view days ago when you fixed my pinterest nonumbers accordion problem. they are still valid. If you need them again i could sent them again.
Have a great day!
carsten
ok tried this but it did not change anything.
So i moved it back as it was to not have any unwanted side effects. Will it help if you have ftp access? I have sent you my ftp data a view days ago when you fixed my pinterest nonumbers accordion problem. they are still valid. If you need them again i could sent them again.
Have a great day!
carsten
Please Log in or Create an account to join the conversation.
10 years 7 months ago #230884
by nicolas
Replied by nicolas on topic Field Constrains do not apply correct
Hi,
I found the problem and added a patch on our end.
Download again the latest version on our end and install it on your website and that will fix the problem.
I found the problem and added a patch on our end.
Download again the latest version on our end and install it on your website and that will fix the problem.
Please Log in or Create an account to join the conversation.
10 years 7 months ago #230886
by iq-guru
Replied by iq-guru on topic Field Constrains do not apply correct
HI Nicolas, thanks for your effort!
If i do the update now will it overwrite the changes you did for my nonumbers social share component or the changes i did in the product view template or is it save to update ?
Do i have to update the whole package or just a certain module ?
Thanks again for your great support!
Carsten
If i do the update now will it overwrite the changes you did for my nonumbers social share component or the changes i did in the product view template or is it save to update ?
Do i have to update the whole package or just a certain module ?
Thanks again for your great support!
Carsten
Please Log in or Create an account to join the conversation.
10 years 7 months ago #231017
by nicolas
Replied by nicolas on topic Field Constrains do not apply correct
Hi,
The modifications for the social networks plugin will be overwritten. So make sure you backup the files in plugins/system/hikashopsocial and restore them after the install.
The views won't be lost.
You can update the whole package
The modifications for the social networks plugin will be overwritten. So make sure you backup the files in plugins/system/hikashopsocial and restore them after the install.
The views won't be lost.
You can update the whole package
The following user(s) said Thank You: iq-guru
Please Log in or Create an account to join the conversation.
10 years 7 months ago #231130
by iq-guru
Replied by iq-guru on topic Field Constrains do not apply correct
Thanks again nicolas for the great support! Now it works well.
Last question will the hikasocial changes become part of the main distribution or do i have allways to keep these in a backup to put them back after an upgrade ?
Thanks in advance
Carsten
Last question will the hikasocial changes become part of the main distribution or do i have allways to keep these in a backup to put them back after an upgrade ?
Thanks in advance
Carsten
Please Log in or Create an account to join the conversation.
10 years 7 months ago #231279
by nicolas
Replied by nicolas on topic Field Constrains do not apply correct
It will be added in the next version of HikaShop yes.
The following user(s) said Thank You: iq-guru
Please Log in or Create an account to join the conversation.
Time to create page: 0.158 seconds