I have 2 dropdowns (#dropDown1 and #dropDown2). What I need is when either of the dropdown is selected it will displace the value in a text box (ID #textTotal )
If both dropdowns are selected then a total value will displace in the text box.
I hereby attached a picture for what I need. Thank you.
![](https://static.wixstatic.com/media/a27d24_73e4d646cccf4fc9951757d91e8708b4~mv2.jpg/v1/fill/w_147,h_114,al_c,q_80,usm_0.66_1.00_0.01,blur_2,enc_auto/a27d24_73e4d646cccf4fc9951757d91e8708b4~mv2.jpg)
Yes! I can understand the code from Code Queen Nayeli and Yisrael and both works! But there was a orange question mark for "missing radix parameter" in 2nd line
function calculate() { var charge = parseInt($w("#dropdown1").value) + parseInt($w("#dropdown2").value); return charge;
don't know what it is but works anyway.
Thanks a lot and happy new year.
I am a beginner, I agreed I have to learn coding, without these basic knowledge it's impossible for the tech support to provide help.
But I 've managed to get some WIx's code to work. Example are backend and preloader's codes. I got the backend's tutorial from YouTube and it works! it's complicated. The person who give tutorial also a non-code writer but a very good teacher instead.
FYI, I was selected as a webmaster among 400 members because most us knows very little about web design. Apart from that, my non-profit organization has a limited budget for a professional webmaster. For 2 years I've refused to volunteer as a webmaster due to my lack of knowledge in coding until recently our current webmaster resigned.
One of the director approached and reassured me with Wix's 100% non-code web editor. If that is true, then I will have no excuse but to help as much as I can. According to the forum I have posted, it turn out this is not true as you and your team tech supports described.
But then I realized if I have to spend times learning these codes and possibility end up hiring a code expert,
would it be more appropriate for my organization to hire a professional webmaster instead?
If is more economical to have professional webmaster then our organization might not need Wix anymore.
I will forward all our post to director attentions and let them decide.
Thank you
Hello HLaw,
I have a tutorial article that shows how to perform basic math functions. You can check it out here:
https://support.totallycodable.com/en/article/create-simple-math-calculations-instant-online-quote
If you still need help after that, I recommend you find someone that can either teach you privately or do it for you. People I recommend are here: www.totallycodable.com/featured-coders
Or you can start from the beginning and learn the Wix Code basics here: https://www.youtube.com/playlist?list=PL16sLBOBeiCOXrwWr-qnSsnuK8yHAiFFZ
I, too, come from a non-coding background. It took a lot of questions and practice to break through little by little. It didn't happen overnight. Persistance and patience is the key.
Good luck and happy coding :)
BTW is there any forum provide help outside Wix?
I wrote back because her code doesn't work. If I can understand code just by reading then I don't need to come here for help. How ever your company advertised as no code needed web-editor?
I see that this is the second time that you have posted this question. In the first post, Sapir provided excellent coding assistance, however you admit that you have no coding experience.
We appreciate your interest in really getting the most out of Wix Code and how much you want to learn. You will need to familiarize yourself with basic coding concepts to accomplish what you want. There are a wealth of Javascript coding sites which will help you learn Javascript from basic to advanced - Javascript.info is a good one. The Wix Code Resources provides tutorials, examples, and articles on getting the most out of Wix Code. We are happy to get you pointed in the right direction, but you’ll need to take it from there. As questions or difficulties arise, we are here to help.
You may also want to check out the WixArena - it's a hub where you can look for Wix Code (and other) experts for hire.
Thanks for your understanding.