- Posts: 490
- Thank you received: 2
add please select to custom field drop down
9 years 8 months ago #258919
by ronron
add please select to custom field drop down was created by ronron
-- HikaShop version -- : 2.6.3
-- Joomla version -- : 3.4.5
-- PHP version -- : 5.5
-- Error-message(debug-mod must be tuned on) -- : none
hi
how do i make my custom field single drop down to throw an error if the user does not make any changes to the drop down.
i have the following
0 = please select
1 = important
2= very important
3 = emergency
if buyer saves his product and custom field is on = please select, he wont save it.
somthing like error " you need to select importance"
thanks
-- Joomla version -- : 3.4.5
-- PHP version -- : 5.5
-- Error-message(debug-mod must be tuned on) -- : none
hi
how do i make my custom field single drop down to throw an error if the user does not make any changes to the drop down.
i have the following
0 = please select
1 = important
2= very important
3 = emergency
if buyer saves his product and custom field is on = please select, he wont save it.
somthing like error " you need to select importance"
thanks
Please Log in or Create an account to join the conversation.
9 years 8 months ago #258923
by nicolas
Replied by nicolas on topic add please select to custom field drop down
Hi,
Keep the value empty for the please select title and turn on the "required" setting of your custom field and it will work like that.
Keep the value empty for the please select title and turn on the "required" setting of your custom field and it will work like that.
Please Log in or Create an account to join the conversation.
9 years 8 months ago #258952
by ronron
Replied by ronron on topic add please select to custom field drop down
hi
when i did the instructions the form did not save and an error informing me to complete the field appear.
But i got lots of errors as seen below
Warning: Creating default object from empty value in
/home.../administrator/components/com_hikamarket/classes/product.php on line 92
Warning: Attempt to assign property of non-object in /home.../components/com_hikamarket/views/productmarket/tmpl/form_image.php on line 43
Warning: Attempt to assign property of non-object in /home...components/com_hikamarket/views/productmarket/tmpl/form_image.php on line 42.
thanks
when i did the instructions the form did not save and an error informing me to complete the field appear.
But i got lots of errors as seen below
Warning: Creating default object from empty value in
/home.../administrator/components/com_hikamarket/classes/product.php on line 92
Warning: Attempt to assign property of non-object in /home.../components/com_hikamarket/views/productmarket/tmpl/form_image.php on line 43
Warning: Attempt to assign property of non-object in /home...components/com_hikamarket/views/productmarket/tmpl/form_image.php on line 42.
thanks
Please Log in or Create an account to join the conversation.
9 years 8 months ago #258976
by nicolas
Replied by nicolas on topic add please select to custom field drop down
Hi,
Can you provide a screenshot of the settings of your custom field ?
Can you provide a screenshot of the settings of your custom field ?
Please Log in or Create an account to join the conversation.
9 years 8 months ago - 9 years 5 months ago #259192
by ronron
Replied by ronron on topic add please select to custom field drop down
here it is,
thanks
thanks
Last edit: 9 years 5 months ago by ronron.
Please Log in or Create an account to join the conversation.
9 years 8 months ago #259194
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
Replied by Jerome on topic add please select to custom field drop down
Hi,
I see you mentioned warning in HikaMarket ; which mean that you're saving the product in the HikaMarket front-end and not in the HikaShop backend.
If you're asking a question here, in the HikaShop section of the forum, please make a message only regarding HikaShop and the HikaShop context (so, the backend product edition).
Otherwise, there is the HikaMarket section of the forum for the HikaMarket questions.
Right now, I can only recommend you to perform a product save in the HikaShop backend and be sure that it is working (or not).
Regards,
I see you mentioned warning in HikaMarket ; which mean that you're saving the product in the HikaMarket front-end and not in the HikaShop backend.
If you're asking a question here, in the HikaShop section of the forum, please make a message only regarding HikaShop and the HikaShop context (so, the backend product edition).
Otherwise, there is the HikaMarket section of the forum for the HikaMarket questions.
Right now, I can only recommend you to perform a product save in the HikaShop backend and be sure that it is working (or not).
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
Please Log in or Create an account to join the conversation.
Time to create page: 0.186 seconds