web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Disable using toggle b...
Power Apps
Unanswered

Disable using toggle button

(0) ShareShare
ReportReport
Posted on by

Dear Sir,

 

Currently my sharepoint keep updating with datepicker2 (date) but i would like to disable the datepicker2 by using toggle1 button and instead of date, i would like register "TBC" in sharepoint whenever toggle button is false. Any advise please.

 

PRABA7385_1-1644662013693.png

 

Thanks

 

Categories:
I have the same question (0)
  • PowerRanger Profile Picture
    3,458 Super User 2024 Season 1 on at

    @PRABA7385 what do you mean by "instead of date, i would like register "TBC" in sharepoint whenever toggle button is false".

     

    Do you mean that instead of the Date field you want a different field (different sharepoint column) to be Displayed? 

  • PRABA7385 Profile Picture
    on at

    Dear Sir,

     

    My Power App linked with sharepoint list that have "expected target completion field" column that will register the inputs from the power app.

     

    Currently only Datepicker 2 is registering this input. And now i added a toggle button where:

     

    If Toggle button true i can edit date picker and select date ( it will update in sharepoint list)

     

    If toggle button false I would like to disable the datepicker 2 and register wording as "TBC".

     

    Any advise How could i achieve this.

     

    Thanks

     

  • PowerRanger Profile Picture
    3,458 Super User 2024 Season 1 on at

    @PRABA7385 If I get your question right use this on the Text property of the label "DataCardKey5"

     

    If(Toggle1.Value = false,"TBC", Parent.DisplayName)

     

    PowerRanger_0-1644664578792.png

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

     

  • PRABA7385 Profile Picture
    on at

    Dear Sir,

     

    Sorry for the confusion.

     

    Currently the update property for "Target Completion (Estimation)" stated as Datepicker2. This means whenever i input a new date and submit, a new date will be entered in sharepoint column.

     

    Now, if i toggle button to false, i disable the datepicker2, and would like to update sharepoint column with "TBC"

     

    Quite unsure whether i correctly explained.

     

    Mean user could choose either "TBC" or select a date by select the toggle to true or false. If Toggle selected to false, then date not more applicable and not entered in sharepoint list but will ident as TBC.

     

    Thanks

  • PowerRanger Profile Picture
    3,458 Super User 2024 Season 1 on at

    @PRABA7385 so there are two columns in Sharepoint... One Date Field and one for TBC? Could you provide a Screenshot of your List. 

  • PRABA7385 Profile Picture
    on at

    Dear Sir,

     

    I would like to use Target Completion(estimation) Column (Please see below) to entry "TBC" and date. 

     

    If Toggle button "true" I can edit date picker and select date (it will update in sharepoint list) upon submit.

     

    If toggle button "false" I would like to disable the "datepicker 2" and register wording as "TBC"in sharepoint list upon submit.

     

    Any possibilities to achieve this?

     

    PRABA7385_2-1644734194511.png

     

     

    PRABA7385_1-1644734079792.png

     

  • PowerRanger Profile Picture
    3,458 Super User 2024 Season 1 on at
    • @PRABA7385 now I think I understand what you are trying to do. Just let me ask this last question. The Field in Sharepoint "Target Completion (Estimation)" is of type "Single line of Text" or "Date Time".

    If I get it right you either want to Save a Date value or a specific String value in that specific sharepoint field.

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

  • PRABA7385 Profile Picture
    on at

    Dear Sir,

     

    It is MultiLine in Sharepoint and also in power app.

     

    Thanks

  • PowerRanger Profile Picture
    3,458 Super User 2024 Season 1 on at

    @PRABA7385 OK. Could you provide a Screenshot of the Formular which is in the Datacard Update property.

  • PRABA7385 Profile Picture
    on at

    Dear Sir,

     

    Please find below:

     

    PRABA7385_0-1644800924229.png

     

    Thanks

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 326 Most Valuable Professional

#2
11manish Profile Picture

11manish 168

#3
sannavajjala87 Profile Picture

sannavajjala87 75 Super User 2026 Season 1

Last 30 days Overall leaderboard