View by Tag - Global Tags

Oct
14
2010

Using URL Request Parameters as the Default Value for Form Fields

Sliced Design, one of our partners, recently contacted us with a great feature request. They were building a site with a contact form that needed to have some dynamic default values for some of it's fields. In the site they have links to the form that look like this: site.com/contact?name=Joe. They needed to have the "Name" text box automatically filled with the value from the "name" URL parameter.

Now on the surface this isn't that bad of a request. In their form template they could simply put in some logic to see if the {#global.request.get.name} value exists and then set the value for the Name field. Their request was to make this easier. They simply wanted to set the variable as the default value when setting up the form field.

Read more...
tags
Aug
9
2010

Global Tags - Guest Post By Jeremy Hamel

<h1>Global Tags</h1> <p>While working on the new demo site for Aptuitiv, I came across an issue. I had designed the site to utilize the Accounts feature in the Site Template. As you may know, you can… Read more...
tags

View by Tag - Global Tags

Oct
14
2010

Using URL Request Parameters as the Default Value for Form Fields

Sliced Design, one of our partners, recently contacted us with a great feature request. They were building a site with a contact form that needed to have some dynamic default values for some of it's fields. In the site they have links to the form that look like this: site.com/contact?name=Joe. They needed to have the "Name" text box automatically filled with the value from the "name" URL parameter.

Now on the surface this isn't that bad of a request. In their form template they could simply put in some logic to see if the {#global.request.get.name} value exists and then set the value for the Name field. Their request was to make this easier. They simply wanted to set the variable as the default value when setting up the form field.

Read more...
tags
Aug
9
2010

Global Tags - Guest Post By Jeremy Hamel

<h1>Global Tags</h1> <p>While working on the new demo site for Aptuitiv, I came across an issue. I had designed the site to utilize the Accounts feature in the Site Template. As you may know, you can… Read more...
tags

View by Tag - Global Tags

Oct
14
2010

Using URL Request Parameters as the Default Value for Form Fields

Sliced Design, one of our partners, recently contacted us with a great feature request. They were building a site with a contact form that needed to have some dynamic default values for some of it's fields. In the site they have links to the form that look like this: site.com/contact?name=Joe. They needed to have the "Name" text box automatically filled with the value from the "name" URL parameter.

Now on the surface this isn't that bad of a request. In their form template they could simply put in some logic to see if the {#global.request.get.name} value exists and then set the value for the Name field. Their request was to make this easier. They simply wanted to set the variable as the default value when setting up the form field.

Read more...
tags
Aug
9
2010

Global Tags - Guest Post By Jeremy Hamel

<h1>Global Tags</h1> <p>While working on the new demo site for Aptuitiv, I came across an issue. I had designed the site to utilize the Accounts feature in the Site Template. As you may know, you can… Read more...
tags
Sign up for our newsletter to receive invaluable information about BranchCMS, web design & development.