How to show list item ID in display and edit forms designed by spforms designer
-
- Posts: 22
- Joined: Tue Sep 05, 2017
Hi All,
Is there a way to show default List Item ID in display and edit forms designed by spforms designer.
Thanks & Regards,
Ram
Is there a way to show default List Item ID in display and edit forms designed by spforms designer.
Thanks & Regards,
Ram
- Nikita Kurguzov
- Posts: 889
- Joined: Mon Jul 03, 2017
Hello, Ram!
Simply place HTML-control onto your form, switch its CDATA property to False and put the following code into the Content property:
This will show up as an ID number on your Edit and Display form, though it wouldn't work for the New Form as the item hasn't been created yet.
Simply place HTML-control onto your form, switch its CDATA property to False and put the following code into the Content property:
Code: Select all
<xsl:value-of select="@ID" />
This will show up as an ID number on your Edit and Display form, though it wouldn't work for the New Form as the item hasn't been created yet.
Cheers
-
- Posts: 22
- Joined: Tue Sep 05, 2017
Thank you so much Nikita, can you bit elaborate please. How to switch its CDATA property to False and where can i find content property.
- Nikita Kurguzov
- Posts: 889
- Joined: Mon Jul 03, 2017
Add HTML element like this to your form:
Copy the code inside of it and set CDATA to False, so it looks like this:
Cheers
-
- Posts: 22
- Joined: Tue Sep 05, 2017
Thank you so much Nikita, it was very help ful
-
- Information
-
Who is online
Users browsing this forum: No registered users and 3 guests