Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

139
Views
Intento si la declaración javascript para los valores de formulario pero no funciona.

Necesito hacer una declaración if para que los valores del formulario muestren un mensaje de notificaciones rojo si no o un mensaje verde si es así. Todos los campos de formulario, excepto el cuadro de texto de 2 campos. Necesito calcular estos 2 valores de cuadro de texto = 12.

entonces si todo no + valores totales para cuadros de texto = 12

mostrando notifcación de txt verde de lo contrario mostrando notifcación de txt rojo

 <form name="ACV" method="post" action="mailto:yourname@mail.com?subject=ACV" enctype="multipart/form-data" id="Form1" onsubmit="return submitACV()"> <select name="Combobox1" size="1" id="Combobox1" style="position:absolute;left:33px;top:115px;width:200px;height:28px;z-index:0;"> <option value="No">NO</option> <option value="yes">YES</option> </select> <select name="Combobox2" size="1" id="Combobox2" style="position:absolute;left:33px;top:148px;width:200px;height:28px;z-index:1;"> <option value="No">NO</option> <option value="yes">YES</option> </select> <input type="text" id="Editbox1" style="position:absolute;left:47px;top:248px;width:62px;height:16px;z-index:4;" name="Editbox1" value="" spellcheck="false"> <input type="text" id="Editbox2" style="position:absolute;left:161px;top:248px;width:62px;height:16px;z-index:5;" name="Editbox1" value="" spellcheck="false"> <input type="submit" id="Button1" name="" value="Submit" style="position:absolute;left:97px;top:310px;width:126px;height:21px;z-index:19;"> </form> <script> function Button1 () { var text001; var answer1 = Combobox1.value var answer2 = Combobox2.value var answer3 = Combobox3.value var answer4 = Combobox4.value if (answer1 == "no"); if (answer2 == "no"); if (answer3 == "no"); if (answer4 == "no"); { text001 ="right !!"; else text001 ="try again !!"; } } </script>
about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!