Identifying url of form submission page within Bizform

steve smith asked on April 28, 2015 23:55

Hi there

Im not a developer, so forgive any naivety on my part!

I want to know if it's possible to capture the page on which a form is submitted using Bizforms. I need to use the same form on multiple pages - as a feedback mechanism - and i need to identify which page the submission relates to. Im trying to avoid having to include a field where the user would submit the page url

Ideally i guess a hidden field on the form would be set to capture this information upon submission so that when i review the data i can see which page it relates to.

Not sure if this is possible, but if anyone could advise i'd be grateful


Recent Answers

Charles Matvchuk answered on April 29, 2015 00:44 (last edited on April 29, 2015 00:47)

Steve, It is easy to do that. When you are on working in your form design. Click on fields, and create a field name suitable to your liking(such as PageName, etc.) make it 300 text. In the default value click on the right arrow to open up the macro editor and place there. {% DocumentName %} exactly. Click save and you are all set.

You could get any value that a macro can resolve to, such as date, user, IP, etc. etc. as well as your own custom macros and use it as a default.

You could also use a macro to prepopulate information, for instance if you have members, you could prepopulate the first name, last name and email with the current user information and this saves them typing. If they type in something different then it will save the new values. Read up in the documentation about Macro's and Macro Syntax/Expressions. Also in the pop up window you can click the bottom bar to bring up available macro methods, sort of like intellisense. Very powerful.

1 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.