Ditutup

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>

Kemahiran: CSS, Javascript, jQuery / Prototaip, PHP, Wordpress

Lihat lagi: 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

Tentang Majikan:
( 17 ulasan ) Stafford, United Kingdom

ID Projek: #17355658

15 pekerja bebas membida secara purata £20 untuk pekerjaan ini

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 Lagi

£18 GBP dalam sehari
(241 Ulasan)
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 Lagi

£24 GBP dalam sehari
(36 Ulasan)
6.2
£18 GBP dalam sehari
(29 Ulasan)
6.2
£44 GBP dalam sehari
(33 Ulasan)
5.3
£31 GBP dalam 0 hari
(24 Ulasan)
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 Lagi

£18 GBP dalam sehari
(11 Ulasan)
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 Lagi

£18 GBP dalam sehari
(10 Ulasan)
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

£10 GBP dalam 10 hari
(21 Ulasan)
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 Lagi

£18 GBP dalam sehari
(11 Ulasan)
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 Lagi

£17 GBP dalam sehari
(5 Ulasan)
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 Lagi

£18 GBP dalam sehari
(14 Ulasan)
3.3
£17 GBP dalam 2 hari
(4 Ulasan)
2.6
£18 GBP dalam sehari
(2 Ulasan)
2.0
asmzakariah

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

£18 GBP dalam sehari
(0 Ulasan)
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

£10 GBP dalam 3 hari
(0 Ulasan)
0.0