Code in HTML Form Web Part

Hello,

I have no coding background whatsoever but I've recently found 2 pieces of coding that:

1). changes the default calendar overlay colors to colors I have picked out

2). collapsing Tasks with Subtasks by default

Both actually worked great when I added the code to the HTML Form Web part but here is the problem:

We use two different Project communication tools - SharePoint and PWA. 

In PWA I only used the code to collapse the tasks with subtasks - worked like a charm.

In SharePoint, I have the project calendar which has the code for color change (works great) and a task list that I would like it to show collapsed as default (did not work).

Question: can I not have two "pieces" of code doing two different things on one page in SharePoint?  Am I just putting the code in wrong?

Thanks for your help.

February 13th, 2015 1:56am

Hi,

Per my knowledge, the HTML Form web part is not used to put custom code into the page.

We need to use Contend Editor web part or Script Editor web part instead.

Could you please provide a screenshot of your page where the HTML Form web part exists and the code examples for further research?

Best regards.

Thanks

Free Windows Admin Tool Kit Click here and download it now
February 17th, 2015 6:26am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics