0

Is there any risk or drawbacks on editing SharePoint online list new form in SharePoint designer by Modifying the underlying HTML . I was trying to Hide some fields from new form only. I did it by removing or commenting the HTML on SharePoint designer. I'm just wondering if there is a risk associated with that because I'm changing the underlying form code. Is there a better way to do it without using two content type?

2 Answers 2

1

Yes, there is a risk. Updates from the SharePoint team will not show up in your form. The change you make is stored in the Content database and you have to update it manually. You can revert your change from the site settings page at a later time if you want, and then you will get updates from the SharePoint team.

Hide columns can be made just by setting the column to read only or hidden.

If that does not work out for you, a more complex but more flexible way is to create a JSLink configuration for that column.

2

as mangnus noted but if JSlink doesn't suffice you can also need to mention that you can create your own form (new/edit/display) within SPD for a given list so you dont edit the out of the box form and then set them to default form.

you would find it here:

enter image description here

clicking on the new button shows:

enter image description here

1
  • Thanks Ali, Do you have a sample JSlink to hide fields? thanks Commented Nov 29, 2017 at 15:24

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.