Conditionally showing/hiding a field in sharepoint "new item" form, WITHOUT the use of any code

Copper Contributor

Is there any way to achieve this functionality without using any code?

Will I need to use SharePoint Designer and conditional formatting for this purpose or is there an easier way to do it?

 

clipboard_image_0.png

9 Replies

@Rob Ellis 

 

I tried to customize with powerapps, but only some of the fields are showing up? :

 

clipboard_image_0.png


These are all columns for that particular list:

 

clipboard_image_1.png

 

I've chosen to hide some of the above columns from the "new item" form, via Content types menu, but the ones you see below should be shown (they are all visible when selecting New item from the sharepoint list):

 

clipboard_image_2.png

 

EDIT: It seems that only the first 7 columns from the list are displayed...

I'm unfortunately not a PowerApps person, so I'm sure someone else will comment soon - but I wonder whether maybe PowerApps only puts the first 7 columns on the form by default, and you have to add the rest yourself.

@Rob Ellis 

 

You were right, I added the additional fields and got the conditional hiding of a form field to work as well. Thanks for the suggestion.

 

A follow up question:

For some reason I can no longer copy a direct link to the form.

 

Nothing gets copied to the clipboard when I press "Copy link", having clicked on New item from the list view:

 

clipboard_image_0.png

 

What could be the cause of this, and how can I get this to work again?

That 'Copy Link' button works for an existing item - to create a sharing link to that specific item.

It does nothing on the 'new item' form (even on the default form), because the item does not exist at that point.

It would make sense for Microsoft to remove it from the 'new item' form, I think.

(I'm not sure whether it would be possible to remove it from a PowerApps custom form - worth checking that)

@Rob Ellis 

 

Okay, so what would be the best way to provide my colleague, who should fill out the "new employee" the form, with a direct link to it?

I would suggest providing a link to the list, and telling your colleague to click 'New'.

@soerenporse It may not solve all your needs but, an alternative solution is that you build the form in "Forms" and use "Branching" to jump to the "follow-up questions" based on the main choices.
If you use Forms, you can also always have a link directly to the editable answer form.

branching.JPG