Forum Discussion

Sam1209's avatar
Sam1209
Brass Contributor
Jun 13, 2019

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

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

    • 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.

      • Sam1209's avatar
        Sam1209
        Brass Contributor

        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?