cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper I
Helper I

Hide/Show a Date Field

Hi All

 

I have a Option Set field with Yes/No option on a WebFormStep

Based on above selection i need hide/show a Date field using JQeury

I am using below code but it is not hiding complete control

 

$('#Control') .hide();

 

Can any one please suggest how to Hide/Show complete Date field (Includes calendar Icon).

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Super User II
Super User II

Hi

 

can you try the following code:

$("#controlname").closest("td").find("div.control, div.info").hide();


------------

If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.




If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

Power Apps Portals Super User


Oliver Rodrigues


 

View solution in original post

1 REPLY 1
Highlighted
Super User II
Super User II

Hi

 

can you try the following code:

$("#controlname").closest("td").find("div.control, div.info").hide();


------------

If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.




If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

Power Apps Portals Super User


Oliver Rodrigues


 

View solution in original post

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

News & Announcements

Community Blog

Stay up tp date on the latest blogs and activities in the community News & Announcements.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Community Highlights

Community Highlights

Check out the Power Platform Community Highlights

Users online (8,325)