Welcome to our Support Portal › Forums › WooCommerce Personalized Product Options Manager (PPOM) › Condition rule for "Required" field like condition show
November 3, 2017 at 10:19 am #8033
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.
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?
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.
November 5, 2017 at 12:40 pm #8036
- This topic was modified 1 year, 6 months ago by Digitize Info System. Reason: image won't showing so put the link to images
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 #8037
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 #8039
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 fields
and 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 validationNovember 6, 2017 at 5:04 am #8042
Any progress?November 6, 2017 at 6:00 am #8043
Hello Najeeb, I just found that this is not working properly.
if I write console.log it says “undefined”November 6, 2017 at 6:20 am #8044
ok, 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 email@example.comNovember 6, 2017 at 6:24 am #8045
OK 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 #11349
It has been a long while for this topic, so we are closing this.
The topic ‘Condition rule for "Required" field like condition show’ is closed to new replies.