Adding a conditional if a check box is checked
-
I have a code here: https://pastebin.com/KnYtcFr9
This is what I want to do in “pseudo-code” (I think just a line should be changed):
if ( ! empty( trim( $discount_post ) ) && ! not checked the check box:"6_checkbox")) {In other words I need also that a checkbox with the meta name “6_checkbox” is not checked in order to apply that discount
when I check that check box, and olnly for the period n6, the post discount is not applied and the agency discount instead will be applied, if existing
The page I need help with: [log in to see the link]
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
The topic ‘Adding a conditional if a check box is checked’ is closed to new replies.