How to hide a field in a form

Discussions about Forms Designer for SharePoint 2013 / 2016 and Office 365.
Locked
oren944
Posts: 8
Joined: Wed Feb 04, 2015

04 Feb 2015

Hello,


How would I hide a field in a form on start. I want this field to appear once the user has input a value in the field above it.


Thanks!

User avatar
Dmitry Kozlov
Site Admin
Posts: 1524
Joined: Thu Jun 07, 2012

05 Feb 2015

Hi,

You need to assign a CSS class to the field you want to hide in Forms Designer and use this class to get and hide the field via JavaScript:

Code: Select all

$('.your-custom-class').hide();
Please, find more samples in the following post:
http://spform.com/office-365/cond ... ynamically

Locked
  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest