Skip to main content

Notifications

Community site session details
Power Pages - Customize & Extend
Answered

Does Power pages recognize toggle buttons?

Like (0) ShareShare
ReportReport
Posted on 21 Sep 2023 18:52:52 by 623

New to Power pages and javascript 

My goal is to set the date of birth field as required unless the DOB unknown field is set to No.  I can't seem to get PPages to recognize the value selected of the radio set. Here is what I found through inspect 

ctedesco3307_0-1695322275163.png

 

 

How do I return the value of the selected radio button

ctedesco3307_1-1695322346716.png

 

  • Verified answer
    Fubar Profile Picture
    7,896 Super User 2025 Season 1 on 21 Sep 2023 at 21:59:05
    Re: Does Power pages recognize toggle buttons?
    $('#fieldlogicalschemaname').is(':checked')); 
    
    or 
    
    $("#fieldlogicalschemaname").find("input[type='radio']:checked").val();

Helpful resources

Quick Links

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Leaderboard > Power Pages - Customize & Extend

#1
Ajlan Profile Picture

Ajlan 4

#2
Fubar Profile Picture

Fubar 2 Super User 2025 Season 1

#2
CBDEV Profile Picture

CBDEV 2

Overall leaderboard

Featured topics

Loading complete