Welcome to our Support Portal › Forums › WooCommerce Personalized Product Options Manager (PPOM) › Condition rule for "Required" field like condition show
Tagged: conditionally required, Required field
- This topic has 8 replies, 3 voices, and was last updated 4 years, 1 month ago by
Jane Brian.
-
AuthorPosts
-
November 3, 2017 at 10:19 am #8033
Digitize Info System
ParticipantHello Najeeb,
I had purchased this plugin for one of my client’s site and I came across an issue to “Required” field conditions like “Show” them conditionally.
Kindly find this image. https://www.dropbox.com/s/zeil1rept8i8gls/screenshot-swingsolution.net-2017-11-03-15-43-38-516.png
I have many radio buttons and base on the option they chose I have to make field validation and I want you to help me how can I make this possible?
see this image: https://www.dropbox.com/s/odu88acu8yyv08z/screenshot-swingsolution.net-2017-11-03-15-47-13-653.png
Here is the link: http://swingsolution.net/wp/trophiesandmedals.com/shop/demo-product-with-trophy-cup-engraving/
For each radio button I have setup to display / hide them, I want an option that it will validate only those “required” fields which are visible.
Let me know how can I make this.
Thanks.
-
This topic was modified 5 years, 6 months ago by
Digitize Info System. Reason: image won't showing so put the link to images
November 5, 2017 at 12:40 pm #8036Digitize Info System
ParticipantHello Najeeb,
I have exported the options: https://www.dropbox.com/s/vp4bnhg5x6j685i/ppom-export.csv?dl=0
Kindly check and do reply back as I need this fixed urgently.
November 5, 2017 at 1:02 pm #8037nmedia
KeymasterHi,
I see you already setup show/hide required fields based on options, so what exactly you are looking now? and what issue with export?
November 5, 2017 at 1:09 pm #8039Digitize Info System
ParticipantHi Najeeb,
thanks for the reply, if you check this link: http://swingsolution.net/wp/trophiesandmedals.com/shop/demo-product-with-trophy-cup-engraving/
Now select any radio buttoon except “No Engraving Required on Trophy Cup” and do these process
1. Hit add to cart with keep required field empty
2. Hit Add to cart with insert anything in required fieldsand you can see that when doing add to cart for some reason validations are not working nor I am able to do add to cart on ajax validation.
Furthermore if I disable Ajax validation it validate perfectly as I required but when it displays the validation I have to re-choose the options and insert all the previously details.
I really need to fix this as without this my client won’t going to check the site updates anymore.
your help in this matter is much appriciated.
If you required I can provide you the credentials to look into backadmin as well. There is no issues in export just in validation
November 6, 2017 at 5:04 am #8042Digitize Info System
ParticipantHello Najeeb,
Any progress?
November 6, 2017 at 6:00 am #8043Digitize Info System
ParticipantHello Najeeb, I just found that this is not working properly.
jQuery(input_control).closest(‘div’)
if I write console.log it says “undefined”
November 6, 2017 at 6:20 am #8044nmedia
Keymasterok, we are about to release beta version of version 10, which handle prices and conditional logic out of the box, if you need to use this beta please send email to sales@najeebmedia.com
November 6, 2017 at 6:24 am #8045Digitize Info System
ParticipantOK Najeeb, I just found a thing, not sure why this happening.
1. if I give title of text as “Title (on one line)” it auto generates name like title__on_one_line_
2. But generated html is having id like title_on_one_line (without one underscore after “title” and “line”
2.1 Database is having the same entry of id like “title__on_one_line_” and this is causing the problem
3. so I just did rename title to “Title on one line” and now it works just fine.I am checking with other personalized options I have created.
April 17, 2019 at 11:37 am #11349Jane Brian
KeymasterHI
It has been a long while for this topic, so we are closing this. -
This topic was modified 5 years, 6 months ago by
-
AuthorPosts
- The topic ‘Condition rule for "Required" field like condition show’ is closed to new replies.