Friday, February 10, 2012
  Search
Support Forum
Autofill function
Last Post 26 Jun 2007 01:33 PM by Alain. 2 Replies.
AddThis - Bookmarking and Sharing Button Printer Friendly
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
Alain
New Member
New Member
Send Private Message
Posts:7


--
26 Jun 2007 12:16 PM  
Hi,

I am currently making a form with some fields that I want to be auto-filled with url parameter(s) passing between pages.

This works with a textbox by passing the autofill value through an url (?id=abc) but I can't get it to work for a DropDownList.  Is it possible to add DropDownList items with this method somehow since you need to specify more than 1 value for a dropdownbox. Text and value.

It probably works with a field query on a datasource but I was hoping it could be done with url parameter passing so that any person with permission to edit the specific pages in dnn can easily apply it with the use of html links between those pages.


Alain
Steve Provencher
Moderator
Advanced Member
Advanced Member
Send Private Message
Posts:681


--
26 Jun 2007 12:38 PM  
For ListItem type controls, Dropdown, CheckboxList, RadioButtonList, and ListBox the AutoFill From really only makes the value Selected in an already filled list.

YOu can fill the list from a Query if you wish and also use the Auto Fill to select the value.

Example is with Region: If you fill a Dropdown with a Region List then Select Auto Fill From "Membershp" and Select "Address:Region" the logged in users  region will be automatically selected in the dropdown.

HTH
Alain
New Member
New Member
Send Private Message
Posts:7


--
26 Jun 2007 01:33 PM  
Thank you for the swift reply.

I think in my case I will have to find some other solution though. I am trying to make a form where ppl can sign up for a certain event by providing the usual fields like name, adress etc. Each event has their own page though with information, dates etc and a link to signup/reserve for that specific event and date.

What I had in mind was to use url parameter passing for the autofillout of the event name which can be done. There are multiple dates however, different for each event that ppl can signup for. It would have been nice if the dates too could be easily passed on with the url parameters to the dropdownlist by someone who has permission to edit the event pages for ppl to select which date they prefer/can attend.

Alain
You are not authorized to post a reply.

Active Forums 4.2
Copyright 2004-2012 Code 5 Systems, LLC.