s
Contact Login Register
h M

Data Springs Modules Community Questions & Answers

Default Value and Email Completion Event

We're adding an "Invite Friends" feature to a membership application on our site using Dynamic Forms 4.

Users sign up on Form 1, and are redirected to Form 2.

Form 2 has four fields: 1 Multiline TextBox "Message to Friends" with a default value: "I signed up, and you should too ... blah blah blah." 3 Single Line Text Boxes for "Email Addresses of Friends."

  • Users must have the option of altering the "Message to Friends."
  • We want the email to friends sent as Plain Text.
  • The message we want as Default Value is over 300 characters long
  • The DefaultValue field in the DynamicForms_Question SQL table is nvarchar(255)

This configuration truncates our 300-character DefaultValue. I've tried other Question Types, none seem to fit our needs.

How can I configure the module to achieve what we want? Can I safely alter the SQL field length of DefaultValue to nvarchar(1000)?

asked 10/18/2013
Steve Aunan43
Steve Aunan

1 Answer

Hello Steve,

I believe the following are the only areas that you’ll need to modify:

SQL TABLES: 

DynamicForms_Question : update the DefaultValue column to nvarchar(max) if necessary.If you receive a Constraint error, just review the constraint details, copy it, delete it, make the change above, and re-add the constraint.

  SQL PROCEDURES: 

DynamicForms_AddDynamicQuestion       : update the @DefaultValue parameter to nvarchar(max) if necessary.

DynamicForms_UpdateDynamicQuestion : update the @DefaultValue parameter to nvarchar(max) if necessary.

 After making these changes, please go to Host -> Host Settings and restart the application.

Let me know if you have any questions.

answered 10/25/2013 Forum Bot 111
Forum Bot

Your Answer

In order to provide an answer to this question, you must Login

I am flagging this question because...

10 inform moderator flags remaining

I am deleting this question because...

I am flagging this answer because...

10 inform moderator flags remaining

Flagging a Post

You have already flagged this post. Clicking "Remove Flag" below will remove your flag, thus reducing the count by one as well.

I am deleting this answer because...

Looking for a DNN Module?

If you’ve used Data Springs modules before, you know how easy they are to install and use. We have built each individual module in our collection with integration in mind, so when you opt for Collection 7.0 you’ll be able to install our entire toolbox quickly and start putting it to work for your business today.Yes, in the blink of an eye you will arrive on the scene like a Superhero!

Data Springs has long been recognized as a leader in the DotNetNuke (DNN) community through hard work, integrity, and commitment. We’ve helped thousands of people POWER UP their website and our Collection 7.0 will do the same for you.

You deserve more than just an average website. You deserve a MACHINE!

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