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

143
Views
How do I duplicate the click of my radio and radio in wpform?

I have a visually designed form for calculating the amount of training and a plugin for sending the form to the mail. I need to figure out how to transfer information about what the user has selected on the radio created by me and the amount in the WPForm form in order to submit a request.

In wpform radio, you need to specify class .wpforms-selected for radio, then they are activated.

I understand that it can be done much easier and better, but in this case we are working with what we have, unfortunately.

 <div class="btn-group" role="group" aria-label="Basic radio toggle button group">
    <input type="radio" value="0" class="btn-check" name="wpforms[fields][19]" id="wpforms-320-field_19_1" autocomplete="off" checked>
    <label style="border-bottom: 0px;" class="btn btn-outline-primary w-50" for="wpforms-320-field_19_1">Онлайн</label>
    <input type="radio" value="3000" class="btn-check" name="wpforms[fields][19]" id="wpforms-320-field_19_2" autocomplete="off">
    <label style="border-bottom: 0px;" class="btn btn-outline-primary w-50" for="wpforms-320-field_19_2">В классе</label>
</div>




<ul id="wpforms-320-field_19">
    <li class="choice-1 depth-1 wpforms-selected">
        <input type="radio" id="wpforms-320-field_19_1" name="wpforms[fields][19]" value="Онлайн" class="wpforms-valid" aria-invalid="false">
        <label class="wpforms-field-label-inline" for="wpforms-320-field_19_1">Онлайн</label>
    </li>
    <li class="choice-2 depth-1">
        <input type="radio" id="wpforms-320-field_19_2" name="wpforms[fields][19]" value="В классе" class="wpforms-valid" aria-invalid="false">
        <label class="wpforms-field-label-inline" for="wpforms-320-field_19_2">В классе</label>
    </li>
</ul>
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!