There might be a few answers to your question but can you please provide a screenshot? You can use the ‘$currentObject’ if the text box is placed inside a data view as the page parameter, but it is only usable inside that data view. Please provide more information so we can help you :-)