Kapalı

Javascript Calculation Custom Code FormidablePro Forms

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>

Beceriler: CSS, Javascript, jQuery / Prototype, PHP, WordPress

Daha fazlasını gör: auto calculate code web forms using javascript, joomla forms custom code, code javascript calculation website, php, javascript, html5, jquery / prototype, adobe acrobat forms javascript calculation example, custom javascript calculation, html form javascript calculation code, acrobat forms javascript calculation, javascript calculation adobe professional forms, adobe forms designer javascript calculation, javascript calculation pdf forms, javascript calculation form, best php javascript gallery custom, javascript calculation, javascript calculator complete code, acrobat javascript calculation days, custom scroll css forms

İşveren Hakkında:
( 16 değerlendirme ) Stafford, United Kingdom

Proje NO: #17355658

Bu iş için 15 freelancer ortalamada £20 teklif veriyor

vyasrohan

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 yea Daha Fazla

1 gün içinde %bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% GBP
(241 Değerlendirme)
7.8
mcfarhat

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 Daha Fazla

1 gün içinde %bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% GBP
(36 Değerlendirme)
6.2
1 gün içinde %bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% GBP
(29 Değerlendirme)
6.2
1 gün içinde %bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% GBP
(33 Değerlendirme)
5.3
in %bids___i_period_sub_35% gün içinde31%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(24 Değerlendirme)
4.7
zhengyang19

Hello. I have read your description now. It is the simple javascript case. Relevant Skills and Experience I have worked as a PHP developer for 6 years and have experienced much in this field. Proposed Milestones £18 Daha Fazla

1 gün içinde %bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% GBP
(11 Değerlendirme)
4.4
seamantopcoder

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 Milest Daha Fazla

1 gün içinde %bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% GBP
(10 Değerlendirme)
4.0
user2690

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

in %bids___i_period_sub_35% gün içinde10%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(21 Değerlendirme)
3.4
AlexanderAksenov

Hello Sir . How are you. I have read your post and very interested in your project. I am wp developer from Russia. I have a lot of experience with wp, php, jquery and so on for more than 2 years. Relevant Skills and E Daha Fazla

1 gün içinde %bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% GBP
(11 Değerlendirme)
3.0
NadirBouchama

Hello, i'am really excellent in Js/PHP/WP with many years of experience and i can help you with your script. Can you provide me a link to your website ? and more details about the calculation. Relevant Skills and Expe Daha Fazla

1 gün içinde %bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% GBP
(5 Değerlendirme)
2.8
ouarkaayoub

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 contac Daha Fazla

1 gün içinde %bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% GBP
(14 Değerlendirme)
3.3
in %bids___i_period_sub_35% gün içinde17%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(4 Değerlendirme)
2.6
1 gün içinde %bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% GBP
(2 Değerlendirme)
2.0
asmzakariah

I can manipulate the codes Relevant Skills and Experience Javascript Proposed Milestones £18 GBP - Bug Fixing

1 gün içinde %bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% GBP
(0 Değerlendirme)
0.0
codingexpert0101

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

in %bids___i_period_sub_35% gün içinde10%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(0 Değerlendirme)
0.0