Javascript Calculation Custom Code FormidablePro Forms
£10-20 GBP
Cerrado
Publicado hace más de 5 años
£10-20 GBP
Pagado a la entrega
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.
<script type="text/javascript">
jQuery(document).ready(function($){
$('select[name="item_meta[157]"]').change(function(){
var val1 = $("select[name='item_meta[157]']").val();
if (val1 == 'Home Win')
{$("#field_j22cx").val('1');}
else if (val1 == 'Draw')
{$("#field_vnlz0").val('1');}
else if (val1 == 'Away Win')
{$("#field_owozg").val('1');}
$("#field_j22cx").change();
});
});
</script>
Hello There,
I will add all custom three filed with calculation to the form.
This will be add by javascript code.
I can complete this in next few hours.
Relevant Skills and Experience
I am having more than five years of experience in web development.
Proposed Milestones
£18 GBP - when form running
so basically you would like using jquery to be able to adjust the values in text boxes based on selections in a specific drop down
Relevant Skills and Experience
I have tons of experience in web dev, including JS and jQuery, as well as Wordpress, PHP,...
Proposed Milestones
£24 GBP - task
I have excellent English communication skills
Hi, I am expert in javascript, I would like to discuss with you more details,
Relevant Skills and Experience
CSS, Javascript, jQuery / Prototype, PHP, WordPress
Proposed Milestones
£18 GBP - default milestone
contact me
thanks
i'm an expert of native javascript.
Relevant Skills and Experience
Some coders often use jQuery, but i like js.
i have many experiences of javascript development.
i'd like to discuss with you further.
Proposed Milestones
£18 GBP - good price.
thanks.
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