Recently Viewed...
DNN Modules
SnowCovered Top Sellers

Gloss is the first ALL COLORS! skin, featuring a powerful XML-based flash and being 100% W3C CSS XHMTL1.0 compliant. Tune it yourself on the fly, changing colors, backgrounds, containers, text color and size, width and more! Brilliant!

Content Workflow + Versioning + Categorization + Multiple Display Options = Truly Advanced DotNetNuke Content Management (Requires DNN 4.5.1 or later)

Powerful, Ajax Enabled, Easy to Use. Document Management has never been better. Open-DocumentLibrary allows DotNetNuke users to share and manage documents in a flexible, intelligent way, offering granular control over Folder and Document access.

Ultra Video Gallery is a brother product of Ultra Media Gallery, UVG allows you to add videos in various format and automatically convert them to flv format, you also can add videos from embed code and play them in our integrated flash video player.

'Relationship Building' and 'Communication' are two essential nuts and bolts for a business to prosper. This module allows you to bridge both of these and easily generate continuous awareness of your web site, products and services. Your prospects and customers will greatly appreciate this featur

In this day and age, knowing as much detailed information as possible about your customer, prospect or web site user is essential. Thankfully, the new 'Dynamics Forms' module from Data Springs, makes it easier than ever to segment your data collection efforts.

Ultra Media Gallery is the most popular photo gallery and media gallery solution for DotNetNuke, UMG offers 10 different flash player to browse your gallery with completely different user interface experience.

Capture your users attention, enrich your site with multimedia flash, and create and opt in distribution list for your DNN site. These are just a few of the many features the Data Springs Module Collection can provide you.

aero is a flexible skin pack, featuring 8 incredible base colors, now with a XML-based Flash header.Combine 3 background layouts, 3 widths and 6 headers to create your own, personalized site.Now also in Color Specific Packs in a total of 40 colors!!

ALL NEW ! - Minimalist includes skin packs in 12 great colors. Each color has Flat, Gradient and Glass versions. Feature rich XML Flash header, perfect for just about any purpose. 9 Different menu options in each skin pack; 3 horizontal menus, 3 vertical menus and 3 all-new Twin level menus . . .

    |   Register   |   Tuesday, December 02, 2008   
Data Springs Product Forums...
Subject: Anonymous user triggers event
Prev Next
You are not authorized to post a reply.

Author Messages
Jerry
Posts:22
going with the flow
going with the flow

03/13/2007 12:23 PM  

We use a questionaire right when a user registers, before they validate their email address, so we can gather some useful information while their confirmation email arrives. Pass some values from dynamic registration over to the form...works great!

Just wondering how to add an enhancement. We'd like to have a checkbox "[  ] Send to mgt committee" which would deterimine whether an email gets sent, or not, when they save the form. No problem here.

The problem comes when I try to hide that question from anonymous users. I'd like to have anonymous users NOT see the question and for the email ALWAYS be sent when it is an anonymous user. Can't quite figure a way to do this as 'hidden from anonymous' results in an empty field rather than True/False and so it doesn't trigger the form event.

Is there another way to accomplish it? Basically, we want anonymous users always to trigger an email and for other users to have an option about whether to send it or not.

Thanks,
jb

Chad
Posts:2264
river guide
river guide

03/15/2007 10:40 AM  
Hmmmm. Yes if you hide a field by role or you hide a field from anonymous users that field will never get rendered. You would want to use a hidden field type. There are probably only a few ways of doing this though and they have not been tested yet.

1. (curent release) Use a hidden field type and set the fields default value to be the DotNetNuke User Default of First Name. This way only send the email if the hidden field is empty. This should work because for anonymous users the field should be empty but for other users it should not be empty.

2. (next release). You will have the ability to use SQL as a default value for a textbox or hidden field type along with some common tokens such as userID. With this SQL option for default value you could do something to maybe pass the UserID to a stored procedure which would then either return 'Yes' for anonymous or 'No' because the UserID was found. Or even something like just selecting the UserID and then set the event to fire if its -1 since thats what the UserID would return for anonymous users. This is probably an even better idea since you wouldn't have to use any other stored procedure or table etc...

-Chad
You are not authorized to post a reply.



ActiveForums 3.7

Copyright 2005 - 2008 by Data Springs, Inc.
Terms Of Use | Privacy Statement