Welcome Guest, Not a member yet? Register   Sign In
Checkbox validation

I am setting up an accommodation booking form for a small establishment with 3 rooms. The form contains an input checkbox for each room. So you can choose 1, 2 or 3 rooms by checking 1, 2 or all 3 boxes. I want a validation rule to pass an error if the user does not check at least one room. Can't think how to do that - can anyone help?

(This post was last modified: 11-01-2020, 06:31 AM by luhuhoxo.)

make the reservation button inactive until the customer selects a room...

"Mmmm," they moaned together. Katelyn grabbed the other nipple and twisted it in her fingers and then closed her hand around the large breast. Hayley pulled away for just a second and wriggled out of the tank top and pressed her big breasts against Katelyn's hands. "Oh, God," Hayley gasped as Katelyn bent her head and took a hard pink nipple into her mouth.
As Katelyn sucked first one nipple and then the other, she started to get a really naughty idea. She raised her head and gave Hayley a deep kiss. She started clearing things off of the countertop of the center island where she had been working. When a space was cleared, Katelyn turned to Hayley.

"Climb up here," she ordered.

Hayley was surprised but incredibly excited as she climbed onto the earth-toned granite and lay down. Katelyn spread the blonde's legs and buried her face in the sweet, wet pussy.

"You taste sooo sweet," she said into the flesh as Hayley moaned and clutched at her hair. Katelyn licked the sweet pink flesh for a few minutes, and then she stepped away and walked to the other counter.

"You're not going to leave me here, dripping wet and needing to cum are you?" the nanny asked with an adorable pout.

"Not at all," Katelyn replied, and when she walked back to Hayley, she was holding something behind her back. Hayley's beautiful eyes looked at her curiously and then Katelyn pulled out a long, shiny, seedless cucumber.

Katelyn opened her mouth and deep-throated the vegetable, and then sucked on it and licked it all over as if she were performing oral sex. Hayley watched her incredulously. Then, when Katelyn had wet the cucumber with her saliva, she placed it at the wet opening between Hayley's legs and gently guided it inside her.

"Oh, my God, Katelyn," Hayley called out. "Oh, that feels so good."

"I'm not hurting you?" Katelyn asked.

"No just the opposite. Oh, God, Katelyn. You're so sexy. Fuck me with the cucumber. Pleeeeese!"
Katelyn obliged, working the long green vegetable deeper into Hayley's body, twisting it and pushing it in. She continued to do this with the cucumber as she bent her head and began to take long licks of Hayley's wet slit. A bolt of lightning crackled in the distance, followed by a loud clap of thunder and then by the sound of rain pouring down on the tile roof.

Hayley was beside herself with excitement, moaning and gasping as her lover penetrated her deeply with the cucumber while licking her tender flesh.

"God, Katelyn, please suck my clit and fuck me harder!" she begged, and Katelyn did as she was bid.

"Oh yes, yes! I'm going to cum, keep fucking me, Katelyn. Ohhhhhhhh! I'm almost there." Hayley was on the very brink of what she knew would be a fabulous climax. "OHHHHH, I'm CUUUUMMMMINNNGGGGGGG!!!!!!!!!!"

Hayley exploded on Katelyn's countertop just as another loud boom of thunder exploded outside. Katelyn kept the steady rhythm going with her tongue on the clit and the cucumber deep inside of Hayley and waited for a signal to stop. But Hayley's climax didn't end. Just when she thought it would stop, she felt herself building toward another one or a continuation of the first as she felt the tongue and the cucumber making her wild. The pretty blonde yelled and thrashed again and again before finally lying still and exhausted on the granite.
Katelyn pulled out the cucumber and gently kissed Hayley's mouth. Breathing hard, Hayley sat up and swung her legs down. She hopped down and quickly went to her knees in front of Katelyn. She stuck her head under the pretty brunette's dress, yanked her silky panties down and began to lick her clit while jamming two fingers inside her very wet hole.

use required for the checkbox validation.
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )

(06-15-2020, 02:29 AM)InsiteFX Wrote: use required for the checkbox validation.

Can't see how that would work. The users would then have to check all the boxes to get past validation but they might only want one room.

Theme © iAndrew 2016 - Forum software by © MyBB