s
Contact Login Register
h M

Dynamic Forms Demonstration 22 - Survey Forms and PDF Completion Events...

This demonstration showcases the new Gridview/Survey and the Rating field types now available in Dynamic Forms.  We will also demonstrate the ability to present form results in PDF.  Take a moment to review the tutorial below the form.  Thanks!

 

Data Springs Survey

 

 



1.  If you have any of these products, please tell us what factors influenced your purchase. (Check as many that applies.)

Products_Services
Timely Upgrades
Quick Helpdesk Response
User Feedback
Premium Support

 

2.  Do you own a Data Springs Collection package?

If NO, please skip the next question and proceed to question 3.


2a. How much do you use the modules in your collection?

3.  What other modules are you interested in?

Select the modules you're interested in.ChooseDynamic Registration
Dynamic User Directory
Interactive User Import
Renewal Reminder

 

4.  What other Data Springs services will be helpful to you?  Please check all that applies.

Flexible Scheduling
Ease of Reach

 

5.  Please tell us how we're doing in each category.

 

How well are we doing?

 

Rating Field Type

 






Please provide your name and email address to receive a copy of the form results.  The email will also include a link to view the results in PDF. Thanks!





* 500 character limit

 


 

One last note:  You may choose to use this demo to provide us real feedback on our products and services. If you answered the questions truthfully (not just 'testing') and would like to send your Survey Responses to management, please mark the checkbox below.


           

Dynamic Forms Demonstration # 22 -- Survey Forms and Form Results in PDF



This demonstration showcases the new Gridview/Survey and Rating field types now available in Dynamic Forms.  We will also demonstrate the ability to present form results in PDF.

 

Let's start with the Gridview/Survey field type.

 

This new field types offer 2 user selection options:  the checkbox and the radio button as seen on Question 1 and Question 2, respectively.  We recommend using the radio button if the user can only make one selection.  If the user can make multiple selections, use the checkbox option.

 

Let's take an admin look at Question 3:

 

 

 

To achieve the gridview layout on this demo, we selected  the settings "Hide Field Label" and "Display label and field in same column"  found in Advanced Field Options.  We also chose to use Text/HTML fields to present the questions but this is not necessary as the field label is displayed as the header for the first column.

 

If you wish to change font and colors on your gridview field, go to Module Configuration, Style Sheet.  Within the custom Dynamic Forms Style Sheet, you'll find a section like this where you can make changes:

.DynamicForms_GridColumn{ background-color: #000000;  }
.DynamicForms_GridHeaderColumn{ background-color: #ffffff;      color: #08088A;}
.DynamicForms_GridItem{ background-color: #CEF6CE;  }
.DynamicForms_GridColumn{ background-color: #9BDA80;  color: #000000;}
.DynamicForms_GridView{ background-color: #5C97EF;   color: #000000; font-weight: Bold; }

Don't forget to hit "Update Style Sheet" before hitting "Update Settings" at the bottom of the page.

  

 

Now let's review the Rating field type.

 

As you saw in the demo above, you can now use a Ratings field type in your Dynamic Forms.  The image below taken from the question to rate the Gridview field shows the various settings available for this field type.

 

 

You'll notice that the default rating is set to 5 stars.  In comparison, for the next question to rate the Rating field, the current setting is zero and the Max Rating is set to only 5. 

Similar to the Gridview field, you can change the appearance of the Rating field by going to Module Configuration, Style Sheet.  Apply your changes to this section:

.DynamicForms_WaitingStarCSS{
     background-image: url(/DesktopModules/Dynamic Forms/Images/GreenStar.jpg);

.DynamicForms_EmptyStarCSS{

     background-image: url(/DesktopModules/Dynamic Forms/Images/GrayStar.jpg);

.DynamicForms_FilledStarCSS{
        background-image: url(/desktopmodules/dynamic Forms/Images/BlueStar.jpg);


/* Rating */
.DynamicForms_StarCSS{
    font-size: 0pt;
    width: 15px;
    height: 25px;
    margin: 0px;
    padding: 0px;
    cursor: pointer;
    display: block;
    background-repeat: no-repeat;


Again, remember to hit "Update Style Sheet" before hitting "Update Settings" at the bottom of the page.

 

 

 

 Creating PDFs

 

Creating PDFs is a new option offered as a completion event.  Let's take a closer look at the PDF event in this demonstration:

 

 

 

 

 

 


Once your PDF event is set, you can use this in your email event.  If you provided your email address, you would have received the 'Dynamic Forms Demo # 22 email.  Here we offer a link to the PDF.  A PDF attachment is also included in the email.  How your users receive the PDF is determined by these tokens:

 


You'll notice that the tokens are based on the PDF event name.  These will only show if a PDF event was created prior to creating an email event.

 

 

 

 

 

Helpful hint: 

When using the PDF tokens in an email event, make sure that the PDF event has a lower sort order than the email event.  This will ensure that the PDF gets generated first before the email is sent out.

 

 

 

Other tricks used in this demo

 

Did you like the character count for the comments field?  We used this client side event in the comments field (under Advanced Field Options):  countChars('divMessage',$(MyComonkeypressonkeyup),500)


Want  a similar look for your Gridview fields in your email event?  Here's how you do it:


1.  Go to Module Configuration, Style Sheet and find the section for Gridview (GridColumn, GridHeaderColumn, GridItem, etc.).  Copy that whole section and paste it to Notepad where you can make changes if you wish to..


2.  Go to your Email Completion Event and switch from Rich Text Editor to Basic Text Box and plug in the copied or modified Gridview stylesheet section at the very top.  Here's an example:

 

 

 

 

 

 

 

 

 

  

Visit other Dynamic Forms Demonstrations to see how this module can enhance the look and functionality of your site!

 

DOWNLOAD A COPY


tip6.gifWould you like to set up your form just like this demo? 

     Simply download this template and save it using the exact file name (don't rename).  Next, upload it to File Manager and then go back to Dynamic Forms and click on Import Content.   

Get a copy now!



Let us do it for you



    Need help?  

Our super powers can make it happen. 

Let's start talking.




Enter your email below AND grab your spot in our big giveaway!

The winner will receive the entire Data Springs Collection 7.0 - Designed to get your website up and running like a DNN superhero (spandex not included).

Subscribe