Everyone is always indebted.
We currently operate a website using WordPress, and we have an inquiry form in it.
We used "MW WP FORM", a WordPress plug-in, when installing the form.
I would like to ask you how to allow or restrict entry of the B/C item check box depending on the value in the A item check box in the form. is.
An image is attached for reference.
Answer # 1
Check checkbox status as you type
Give the disabled attribute to elements that should not be selected, and take the disabled attribute from selectable elements
[[Introduction to jQuery] Summary of how to set/cancel/determine the disabled attribute! | Sakai Engineer School Blog | Learning Information Site for Programming Beginners]
[Cautions and countermeasures when using the disabled attribute in the HTML input element | Work notes of glasses SE]
- input check warning is displayed from the beginning in php
- php - show/hide under check conditions does not work in acf of wordpress
- what is entered in php with input attribute is not reflected
- even if you send formdata() with jquery, the input value cannot be received with php
- check file existence in php
- check for a specific element in a php array
- check box values are all "on" in php
- php - i want to display the value sent from the input form again in the input form
- php - i want to perform escape processing in the name input field of ec-cube
- php - i want to check if a value in a multidimensional array has a specific value
- no input check with jsp
- php - is there a function to check the nth digit of a number?
- input check in java
- php - i check the size of the image with getimagesize, but the vertical and horizontal may be swapped
- php - form → check → display name in thanks
- php - i can't solve c062 of paiza skill check
- [php] i want to output form input data in the same page and csv file
- php - i want to upload text and images from the input form, and save the path of the text and the reduced image in the database
- php - i want to change the output when the check box is on and when it is off
- php - how to check the setting status of laravel fruitcake/laravel-cors
- php - i want to immediately reflect the information added by the favorite function using localstorage in the sidebar
- php - how to set google recaptcha v3 in wordpress (no plugin used)
- php - how difficult is it for an amateur to make a donation plugin?
- php - the menu does not close when you press the in-page link in the hamburger menu on wordpress
- php - wordpress operation in intellij idea
- php - i want to change the title when the fixed page of wordpress is set as the front page
- php - in order to prevent double transmission, i want to monitor cookies and detect download, but sometimes it fails (jquery)
- php - i want to display the images registered in advanced custom fields on the term list page with wordpress