SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Hello I am new to SharePoint and I wanted to make a custom master page.

I've stumbled on __spText1 and __spText2 and I was wondering if I can remove them? If not, what do they do / represent?

Thank you.

EDIT: I forgot to mention that this is about SharePoint 2010.

share|improve this question

The only references I've found to the actual use of these hidden fields is a vague reference to them being required to handle the back button functionality (SP2010 Master Page modifications showing up on other pages like "Add New Item"), the fact that this data needs to be posted to the server if using javascript to submit the page's form (Using jQuery to submit forms on remote SharePoint admin pages), and a whole lot of 2010 master page code dumps.

Sorry my answer isn't more informative, but neither is the web on this one...

I'm also not really sure what they would do for the "back button functionality," since that's what the encoded Source parameter is for in Request.QueryString...

share|improve this answer
I was looking at this link too and it stated "These must be inside the form at the bottom in order to handle the back button functionality" which didn't really made much of sense to me. – Change Feb 18 '13 at 21:15
Yeah, I'm questioning the accuracy of that. – RJ Cuthbertson Feb 18 '13 at 21:25
I'm hoping someone else has a better answer for you because I'm curious too. – RJ Cuthbertson Feb 19 '13 at 14:45

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.