Recently Viewed...
To help you navigate to pages you most recently visited, select from the links below.
Product Forums
Sharepoint Forums
DNN Modules
SnowCovered Top Sellers

Ultra Media Gallery 5.3
Ultra Media Gallery is the most popular photo gallery and media gallery module for DotNetNuke, the major purpose of this module is to allow you create unlimited pictures and medias to your gallery and organize them by albums, your albums and medias are browsed in flash interface.

Flex By DrNuke
The Flex skins are professionally designed, coded and packaged by a team of DotNetNuke experts. Available in 8 great colours, each with 15 banner images, 2 menu types and a choice of 3 background styles. The entire pack features a total of 2448 skins!

Ultra Video Gallery 2.3
Ultra Video Gallery is a brother product of Ultra Media Gallery, The major purpose of this product is to provide an easy way to add videos in various formats to your website by and play them in a unique flash gallery.

Open-DocumentLibrary v3.0
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.

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

XMod 5.1
Version 5 of the perennial best-selling tool for creating data-based solutions in DNN without custom programming. This version focuses on greater flexibility, expandability, and ease-of-use.

CATALooK.netStore Pro & Booking Tools w/source DNN4
Powerful multilingual, search engine optimized ecommerce store and renting/letting system including a concept utilizing many business models in one application integrates:Catalog,Media gallery,Configurator,Packages,Data entry forms,Subscriptions,Recurring billing,40+ CC Gateways,UPS and USPS support

Form Master 1.6 For DNN 4
Form Master 1.6 improves on the success of version 1.5 with new features in Function, and Presentation, while maintaining the Intuitive User Interface. Form Master 1.6 delivers visual form design where input fields can easily be created, modified, and moved.

DNNMasters SEO Suite Enterprise w/Source
If you want better Search Engine ranking you need KeepAlive, URL Rewrite, Custom 404 error, Custom Redirect, Friendly URL's, Sitemap, Google Sitemap.DNNMasters SEO Suite delivers all of it and more!

Document Exchange Professional 4
Edit documents directly on your server using the latest iteration of the premier document management solution for DotNetNuke (DNN). With a completely revised Ajax-enabled UI.
    |   Register   |   Thursday, August 28, 2008   
Data Springs Product Forums...
Subject: $(UserId) not working?
Prev Next
You are not authorized to post a reply.

Author Messages
Bamse
Posts:70
river guide
river guide

05/08/2008 1:29 AM  

Hi, want a userid to be added to the forms result. I add a question to the form, makes it hidden, and with the $(UserId) token as the default value in the question advanced settings, but when i look at the excel the token is not replaced with the actual userid.

Am i missing something?

Chad
Posts:1863
river guide
river guide

05/08/2008 12:17 PM  
You might have to set a default value such as 'Select '$(UserID' as DefaultValue' as your SQL for the default value. You might also make it a textbox to make sure its coming in and then once you confirm its coming in properly change it to hidden field.

-Chad
Bamse
Posts:70
river guide
river guide

05/08/2008 12:34 PM  

Thx, dont know if i understand correctly but below is my best guess how should work but it does not work

i create a Dynamic Question with a text field, then under the question Advanced Field Options i configure Default Value to be SQL Driven with the parameter Select '$(UserID)'

save/update and the field in the form is empty

Chad
Posts:1863
river guide
river guide

05/08/2008 2:04 PM  
You must name the column you are returning 'DefaultValue'

So instead of:

Select '$(UserID)'

Try:

Select '$(UserID)' As DefaultValue

Chad
Bamse
Posts:70
river guide
river guide

05/08/2008 4:16 PM  

Yes it works.

Thx

You are not authorized to post a reply.



ActiveForums 3.7

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