Skip to main content

Notifications

Community site session details

Community site session details

Session Id : yxZFz1u7SeD4022IqRA0gO
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,890 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();

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

🌸 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…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the 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 started