Skip to main content

Notifications

Community site session details

Community site session details

Session Id : I14YBJlBHshxwL9ZreEyQ9
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!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,702 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,017 Most Valuable Professional

Leaderboard

Featured topics