Show checkbox 'name' on fronted
-
Hi,
I am trying to return the ‘name’ value of a checkbox item on the fronted of my website. The code below returns ‘1’ or ‘0’ depending if the checkbox is checked or not. What I need is when a checkbox is checked, return the ‘name’ value of the checkbox.
$parking = rwmb_meta( 'beach_facs_parking'); echo $parking;
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Show checkbox 'name' on fronted’ is closed to new replies.