Add text to top of DispForm.aspx dependant on specific field value

Brass Contributor

I need to add the word "Jersey" in red/bold to the top of the Display Form page on a SharePoint list when 'Jersey' is selected from the 'Location' dropdown field.

 

Please could you let me know if this is possible? And how I would achieve this?

3 Replies

Is anyone able to help please?

@Sam1209 Given that this is a custom display form, it should be possible to do this with basic javascript to detect the dropdown change and set that value in the top.

Thanks @Beau Cameron, I thought this would be the case however I have limited knowledge of Javascript. Is anyone able to help with this please?