SlideShare una empresa de Scribd logo
1 de 14
Styling Sitecore’s
         Web Forms for Marketers

                             A step-by-step guide



© COPYRIGHT   2012 OSHYN INCORPORATED               1
Styling Sitecore’s Web Forms for Marketers
The Sitecore’s Web Forms for Marketers module is
designed to create simple forms in a user-friendly
manner. It provides users with web analytics and
reporting capabilities. It also records and reports user
information provided in forms, in both failure and
success scenarios.


Here, I’ll show you how to create a simple Contact
Web Form as well as how to create and assign styles
to it using Sitecore's Web Forms for Marketers.


   © COPYRIGHT   2012 OSHYN INCORPORATED                   2
Create a Contact Us form
The Web Forms for Marketers module defines forms
using items that are stored in the appropriate folders
under /sitecore/system/Modules/Web Forms for
Marketers.


Each form is based on the /sitecore/templates/Web
Forms for Marketers/Form template and can contain
any number of sections or fields




   © COPYRIGHT   2012 OSHYN INCORPORATED                 3
Create a Contact Us form
1. To create a new web
   form, go to
   /sitecore/system/Modules
   /Web Forms for Marketers
   right click and select
   Insert > Form
2. Enter the name “Contact
   Us Form”


Once the form is created, we
can edit the options in the
Content tab.

   © COPYRIGHT   2012 OSHYN INCORPORATED   4
› To edit the success message or to redirect to
  another page in form success, click in Success Mode
› Click “Show Message” and edit “Success Message”




   © COPYRIGHT   2012 OSHYN INCORPORATED                5
Now, click on “Form Designer” to edit or add the fields.




    © COPYRIGHT   2012 OSHYN INCORPORATED                  6
Once we click on the Form Designer, we will see a
different screen:




To add a field, we have to click on “Add a field”

   © COPYRIGHT   2012 OSHYN INCORPORATED            7
› We will add the following fields:
   › “Name” title to “Single Line Text” type.
   › “Email” title to “Email” type.
   › “Your Message” title to “Multiple Line Text” type.




   © COPYRIGHT   2012 OSHYN INCORPORATED                  8
Once the fields are ready, we have to set up the actions for the
“Submit” button; every form has a Submit button and you can
associate actions with this button. Actions are executed on the
server. To set up the actions, first select the Submit button. You will
see the options to edit the actions on the left side.




    © COPYRIGHT   2012 OSHYN INCORPORATED                                 9
How to style the fields




In the Form Designer, you can use CSS Class property
that is available for all fields.




   © COPYRIGHT   2012 OSHYN INCORPORATED               10
How to extend or add new CSS classes to the list:
1. Add definition of the CSS class to the site .css class file.
2. Create a classes folder new item under the
   /sitecore/system/Modules/Web Forms for
   Marketers/Settings/Meta data/Css Classes using the
   /sitecore/templates/Web Forms for Marketers/Meta
   Data/Extended List Item template.
3. Add the name of your CSS class to the “Value” field of the
   created item.




     © COPYRIGHT   2012 OSHYN INCORPORATED                        11
After we’ve created a new style, we can
assign it to the fields:




© COPYRIGHT   2012 OSHYN INCORPORATED     12
Key Points
› The Web Form for Marketers module is a great
  module, easy to use to create web forms with a
  variety of settings
› The markup that the module generates is complex
  and difficult for a front-end developer to configure
  starting from a prototype, I recommend configuring
  the web form prior to the start of the project and
  then begin from that markup to change styles in
  order to accomplish a specific design.




   © COPYRIGHT   2012 OSHYN INCORPORATED                 13
Learn more about
                            Oshyn’s Sitecore work at:
                            www.oshyn.com/sitecore




© COPYRIGHT   2012 OSHYN INCORPORATED                   14

Más contenido relacionado

Similar a Styling Sitecore's Web Forms for Marketers

Virtual Job Portal System
Virtual Job Portal SystemVirtual Job Portal System
Virtual Job Portal SystemTAWSEEF AHMAD
 
Integrating subscription signup forms with WordPress manually copying and pas...
Integrating subscription signup forms with WordPress manually copying and pas...Integrating subscription signup forms with WordPress manually copying and pas...
Integrating subscription signup forms with WordPress manually copying and pas...GeniusContacts
 
Sugar U: Session 8: Configuring Sugar for Your Business Using Studio
Sugar U: Session 8: Configuring Sugar for Your Business Using StudioSugar U: Session 8: Configuring Sugar for Your Business Using Studio
Sugar U: Session 8: Configuring Sugar for Your Business Using StudioSugarCRM
 
How to integrate a subscription form with WordPress using a free plugin?
How to integrate a subscription form with WordPress using a free plugin?How to integrate a subscription form with WordPress using a free plugin?
How to integrate a subscription form with WordPress using a free plugin?GeniusContacts
 
18 Cool Features on Arcadier Marketplaces
18 Cool Features on Arcadier Marketplaces18 Cool Features on Arcadier Marketplaces
18 Cool Features on Arcadier MarketplacesArcadier
 
Adobe.com Redesign: Powered by Day CQ5
Adobe.com Redesign: Powered by Day CQ5Adobe.com Redesign: Powered by Day CQ5
Adobe.com Redesign: Powered by Day CQ5Day Software
 
Content Management System and WordPress
Content Management System and WordPressContent Management System and WordPress
Content Management System and WordPressBretz Harllynne Moltio
 
SharePoint Re-branding The VisualStudio Way Part One SandBox Solution
SharePoint Re-branding The VisualStudio Way Part One SandBox SolutionSharePoint Re-branding The VisualStudio Way Part One SandBox Solution
SharePoint Re-branding The VisualStudio Way Part One SandBox SolutionIfeanyi I Nwodo(De Jeneral)
 
Is SharePoint 2013 worth waiting for?
Is SharePoint 2013 worth waiting for?Is SharePoint 2013 worth waiting for?
Is SharePoint 2013 worth waiting for?Sam Marshall
 
Adobe.com Redesign: Powered by Day CQ5
Adobe.com Redesign: Powered by Day CQ5Adobe.com Redesign: Powered by Day CQ5
Adobe.com Redesign: Powered by Day CQ5Day Software
 
Salesforce Marketing Cloud connector for Wordpress WooCommerce
Salesforce Marketing Cloud connector for Wordpress WooCommerceSalesforce Marketing Cloud connector for Wordpress WooCommerce
Salesforce Marketing Cloud connector for Wordpress WooCommerceWebkul Software Pvt. Ltd.
 
How to build the odoo website in odoo 13
How to build the odoo website in odoo 13How to build the odoo website in odoo 13
How to build the odoo website in odoo 13PlanetOdoo
 
2019 ottobre 28 english gdoox personal profile
2019 ottobre 28 english gdoox personal profile2019 ottobre 28 english gdoox personal profile
2019 ottobre 28 english gdoox personal profileDaniel Rueda H
 
Gravity forms are cool
Gravity forms are coolGravity forms are cool
Gravity forms are coolShawn DeWolfe
 
Point and Click App Building Workshop
Point and Click App Building WorkshopPoint and Click App Building Workshop
Point and Click App Building WorkshopSalesforce Developers
 
WordPress SugarCRM Customer Portal Pro Plugin
WordPress SugarCRM Customer Portal Pro PluginWordPress SugarCRM Customer Portal Pro Plugin
WordPress SugarCRM Customer Portal Pro PluginBiztech Store
 
Geoxis iHub Pvt Ltd Profile
Geoxis iHub Pvt Ltd ProfileGeoxis iHub Pvt Ltd Profile
Geoxis iHub Pvt Ltd ProfileGeoxis
 
Salesforce Marketing Cloud Connector For Shopify
Salesforce Marketing Cloud Connector For ShopifySalesforce Marketing Cloud Connector For Shopify
Salesforce Marketing Cloud Connector For ShopifyWebkul Software Pvt. Ltd.
 

Similar a Styling Sitecore's Web Forms for Marketers (20)

Virtual Job Portal System
Virtual Job Portal SystemVirtual Job Portal System
Virtual Job Portal System
 
Integrating subscription signup forms with WordPress manually copying and pas...
Integrating subscription signup forms with WordPress manually copying and pas...Integrating subscription signup forms with WordPress manually copying and pas...
Integrating subscription signup forms with WordPress manually copying and pas...
 
Sugar U: Session 8: Configuring Sugar for Your Business Using Studio
Sugar U: Session 8: Configuring Sugar for Your Business Using StudioSugar U: Session 8: Configuring Sugar for Your Business Using Studio
Sugar U: Session 8: Configuring Sugar for Your Business Using Studio
 
How to integrate a subscription form with WordPress using a free plugin?
How to integrate a subscription form with WordPress using a free plugin?How to integrate a subscription form with WordPress using a free plugin?
How to integrate a subscription form with WordPress using a free plugin?
 
mendix.ppt sateesh.pptx
mendix.ppt sateesh.pptxmendix.ppt sateesh.pptx
mendix.ppt sateesh.pptx
 
18 Cool Features on Arcadier Marketplaces
18 Cool Features on Arcadier Marketplaces18 Cool Features on Arcadier Marketplaces
18 Cool Features on Arcadier Marketplaces
 
Adobe.com Redesign: Powered by Day CQ5
Adobe.com Redesign: Powered by Day CQ5Adobe.com Redesign: Powered by Day CQ5
Adobe.com Redesign: Powered by Day CQ5
 
Content Management System and WordPress
Content Management System and WordPressContent Management System and WordPress
Content Management System and WordPress
 
Advwebdesign report
Advwebdesign reportAdvwebdesign report
Advwebdesign report
 
SharePoint Re-branding The VisualStudio Way Part One SandBox Solution
SharePoint Re-branding The VisualStudio Way Part One SandBox SolutionSharePoint Re-branding The VisualStudio Way Part One SandBox Solution
SharePoint Re-branding The VisualStudio Way Part One SandBox Solution
 
Is SharePoint 2013 worth waiting for?
Is SharePoint 2013 worth waiting for?Is SharePoint 2013 worth waiting for?
Is SharePoint 2013 worth waiting for?
 
Adobe.com Redesign: Powered by Day CQ5
Adobe.com Redesign: Powered by Day CQ5Adobe.com Redesign: Powered by Day CQ5
Adobe.com Redesign: Powered by Day CQ5
 
Salesforce Marketing Cloud connector for Wordpress WooCommerce
Salesforce Marketing Cloud connector for Wordpress WooCommerceSalesforce Marketing Cloud connector for Wordpress WooCommerce
Salesforce Marketing Cloud connector for Wordpress WooCommerce
 
How to build the odoo website in odoo 13
How to build the odoo website in odoo 13How to build the odoo website in odoo 13
How to build the odoo website in odoo 13
 
2019 ottobre 28 english gdoox personal profile
2019 ottobre 28 english gdoox personal profile2019 ottobre 28 english gdoox personal profile
2019 ottobre 28 english gdoox personal profile
 
Gravity forms are cool
Gravity forms are coolGravity forms are cool
Gravity forms are cool
 
Point and Click App Building Workshop
Point and Click App Building WorkshopPoint and Click App Building Workshop
Point and Click App Building Workshop
 
WordPress SugarCRM Customer Portal Pro Plugin
WordPress SugarCRM Customer Portal Pro PluginWordPress SugarCRM Customer Portal Pro Plugin
WordPress SugarCRM Customer Portal Pro Plugin
 
Geoxis iHub Pvt Ltd Profile
Geoxis iHub Pvt Ltd ProfileGeoxis iHub Pvt Ltd Profile
Geoxis iHub Pvt Ltd Profile
 
Salesforce Marketing Cloud Connector For Shopify
Salesforce Marketing Cloud Connector For ShopifySalesforce Marketing Cloud Connector For Shopify
Salesforce Marketing Cloud Connector For Shopify
 

Más de dotCMS

5 Don'ts for Selecting a CMS
5 Don'ts for Selecting a CMS5 Don'ts for Selecting a CMS
5 Don'ts for Selecting a CMSdotCMS
 
10 reasons a CMS is important to your business
10 reasons a CMS is important to your business10 reasons a CMS is important to your business
10 reasons a CMS is important to your businessdotCMS
 
How to Easily Create a Page in Sitecore
How to Easily Create a Page in SitecoreHow to Easily Create a Page in Sitecore
How to Easily Create a Page in SitecoredotCMS
 
Advantages of HTML5
Advantages of HTML5Advantages of HTML5
Advantages of HTML5dotCMS
 
Oshyn drupal-multilingual-press-release
Oshyn drupal-multilingual-press-releaseOshyn drupal-multilingual-press-release
Oshyn drupal-multilingual-press-releasedotCMS
 
Oshyn Affiliate Content Sharing Content Management Systems Cms
Oshyn Affiliate Content Sharing Content Management Systems CmsOshyn Affiliate Content Sharing Content Management Systems Cms
Oshyn Affiliate Content Sharing Content Management Systems CmsdotCMS
 
Oshyn Sitecore CMS Social Media White Paper
Oshyn Sitecore CMS Social Media White PaperOshyn Sitecore CMS Social Media White Paper
Oshyn Sitecore CMS Social Media White PaperdotCMS
 
Open Text RedDot CMS: Improving Installation Performance
Open Text RedDot CMS: Improving Installation PerformanceOpen Text RedDot CMS: Improving Installation Performance
Open Text RedDot CMS: Improving Installation PerformancedotCMS
 
Oshyn Best Practices For Sitecore CMS
Oshyn Best Practices For Sitecore CMSOshyn Best Practices For Sitecore CMS
Oshyn Best Practices For Sitecore CMSdotCMS
 
Oshyn - Best Practices For Sitecore CMS
Oshyn - Best Practices For Sitecore CMSOshyn - Best Practices For Sitecore CMS
Oshyn - Best Practices For Sitecore CMSdotCMS
 

Más de dotCMS (10)

5 Don'ts for Selecting a CMS
5 Don'ts for Selecting a CMS5 Don'ts for Selecting a CMS
5 Don'ts for Selecting a CMS
 
10 reasons a CMS is important to your business
10 reasons a CMS is important to your business10 reasons a CMS is important to your business
10 reasons a CMS is important to your business
 
How to Easily Create a Page in Sitecore
How to Easily Create a Page in SitecoreHow to Easily Create a Page in Sitecore
How to Easily Create a Page in Sitecore
 
Advantages of HTML5
Advantages of HTML5Advantages of HTML5
Advantages of HTML5
 
Oshyn drupal-multilingual-press-release
Oshyn drupal-multilingual-press-releaseOshyn drupal-multilingual-press-release
Oshyn drupal-multilingual-press-release
 
Oshyn Affiliate Content Sharing Content Management Systems Cms
Oshyn Affiliate Content Sharing Content Management Systems CmsOshyn Affiliate Content Sharing Content Management Systems Cms
Oshyn Affiliate Content Sharing Content Management Systems Cms
 
Oshyn Sitecore CMS Social Media White Paper
Oshyn Sitecore CMS Social Media White PaperOshyn Sitecore CMS Social Media White Paper
Oshyn Sitecore CMS Social Media White Paper
 
Open Text RedDot CMS: Improving Installation Performance
Open Text RedDot CMS: Improving Installation PerformanceOpen Text RedDot CMS: Improving Installation Performance
Open Text RedDot CMS: Improving Installation Performance
 
Oshyn Best Practices For Sitecore CMS
Oshyn Best Practices For Sitecore CMSOshyn Best Practices For Sitecore CMS
Oshyn Best Practices For Sitecore CMS
 
Oshyn - Best Practices For Sitecore CMS
Oshyn - Best Practices For Sitecore CMSOshyn - Best Practices For Sitecore CMS
Oshyn - Best Practices For Sitecore CMS
 

Último

Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessPixlogix Infotech
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 

Último (20)

Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 

Styling Sitecore's Web Forms for Marketers

  • 1. Styling Sitecore’s Web Forms for Marketers A step-by-step guide © COPYRIGHT 2012 OSHYN INCORPORATED 1
  • 2. Styling Sitecore’s Web Forms for Marketers The Sitecore’s Web Forms for Marketers module is designed to create simple forms in a user-friendly manner. It provides users with web analytics and reporting capabilities. It also records and reports user information provided in forms, in both failure and success scenarios. Here, I’ll show you how to create a simple Contact Web Form as well as how to create and assign styles to it using Sitecore's Web Forms for Marketers. © COPYRIGHT 2012 OSHYN INCORPORATED 2
  • 3. Create a Contact Us form The Web Forms for Marketers module defines forms using items that are stored in the appropriate folders under /sitecore/system/Modules/Web Forms for Marketers. Each form is based on the /sitecore/templates/Web Forms for Marketers/Form template and can contain any number of sections or fields © COPYRIGHT 2012 OSHYN INCORPORATED 3
  • 4. Create a Contact Us form 1. To create a new web form, go to /sitecore/system/Modules /Web Forms for Marketers right click and select Insert > Form 2. Enter the name “Contact Us Form” Once the form is created, we can edit the options in the Content tab. © COPYRIGHT 2012 OSHYN INCORPORATED 4
  • 5. › To edit the success message or to redirect to another page in form success, click in Success Mode › Click “Show Message” and edit “Success Message” © COPYRIGHT 2012 OSHYN INCORPORATED 5
  • 6. Now, click on “Form Designer” to edit or add the fields. © COPYRIGHT 2012 OSHYN INCORPORATED 6
  • 7. Once we click on the Form Designer, we will see a different screen: To add a field, we have to click on “Add a field” © COPYRIGHT 2012 OSHYN INCORPORATED 7
  • 8. › We will add the following fields: › “Name” title to “Single Line Text” type. › “Email” title to “Email” type. › “Your Message” title to “Multiple Line Text” type. © COPYRIGHT 2012 OSHYN INCORPORATED 8
  • 9. Once the fields are ready, we have to set up the actions for the “Submit” button; every form has a Submit button and you can associate actions with this button. Actions are executed on the server. To set up the actions, first select the Submit button. You will see the options to edit the actions on the left side. © COPYRIGHT 2012 OSHYN INCORPORATED 9
  • 10. How to style the fields In the Form Designer, you can use CSS Class property that is available for all fields. © COPYRIGHT 2012 OSHYN INCORPORATED 10
  • 11. How to extend or add new CSS classes to the list: 1. Add definition of the CSS class to the site .css class file. 2. Create a classes folder new item under the /sitecore/system/Modules/Web Forms for Marketers/Settings/Meta data/Css Classes using the /sitecore/templates/Web Forms for Marketers/Meta Data/Extended List Item template. 3. Add the name of your CSS class to the “Value” field of the created item. © COPYRIGHT 2012 OSHYN INCORPORATED 11
  • 12. After we’ve created a new style, we can assign it to the fields: © COPYRIGHT 2012 OSHYN INCORPORATED 12
  • 13. Key Points › The Web Form for Marketers module is a great module, easy to use to create web forms with a variety of settings › The markup that the module generates is complex and difficult for a front-end developer to configure starting from a prototype, I recommend configuring the web form prior to the start of the project and then begin from that markup to change styles in order to accomplish a specific design. © COPYRIGHT 2012 OSHYN INCORPORATED 13
  • 14. Learn more about Oshyn’s Sitecore work at: www.oshyn.com/sitecore © COPYRIGHT 2012 OSHYN INCORPORATED 14