I am using a plugin for my wordpress website and need to adapt a script to accommodate my needs.
i am trying to achieve where a dropdown selection populates 3 other fields based on the selection to either 1 or 0
For example if a home win is selected then the home win will populate a field value to 1 and set the draw and away win fields values to 0, same senario for the draw and away selection.
Here is the starting code that needs a quick amendemnt to achieve this outcome.
var val1 = $("select[name='item_meta']").val();
if (val1 == 'Home Win')
else if (val1 == 'Draw')
else if (val1 == 'Away Win')
15 pekerja bebas membida secara purata £20 untuk pekerjaan ini
Hi, good day, I'd like to help you , I think you may need one or two lines, I can do an example and show you via anydesk. Relevant Skills and Experience js developer Proposed Milestones £10 GBP - fix the code
Hello, I have gone through your requirements and it’s seems easy to accomplish for me as I worked for more than 2 years in Wordpress and JS. Can you send me the url of ur form. Thank you