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,850 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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

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

#1
WarrenBelz Profile Picture

WarrenBelz 146,745 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,091 Most Valuable Professional

Leaderboard

Featured topics

Loading started
Loading started