Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

AppTheory specializes in solutions based on the DotNetNuke platform and has 2 employees on the DotNetNuke Core Team.
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
Iron Speed Designer is a software development tool for building database, reporting, and forms applications for .NET without hand-coding.
 


  Sponsors  

Meet Our Sponsors

WebSecureStores -- ASP.NET & DotNetNuke Hosting Solutions
FCKeditor Project
Salaro -- Skins and more
OnyakTech
The best choice for your web site host, email hosting, and domain registration.
CrystalTech Web Hosting™
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Extend It! ( Pr...  Dynamic prefixes for form field ID and Name in a module?
Previous Previous
 
Next Next
New Post 5/5/2008 8:56 PM
User is offline ch3nyong
12 posts
10th Ranked


Dynamic prefixes for form field ID and Name in a module? 
Hi all, I'm considerably new to DNN module development, and having a question on form response value. Say, I have a form field having "fullname" as the field name within a module called Feedbackform: The name and id of the field have been manipulated. Since I need to get the field value based on the name on a post-back, may I know what prefix variable I can use in order to get me the "dnn$ctr418$Feedbackform$" and "dnn_ctr418_Feedbackform_" manipulation? I see that ctr418 in this case may be a dynamic number specifically assigned to the module in this particular host/site? Many thanks for your help!!
 
New Post 5/5/2008 9:19 PM
User is offline Chris Hammond
2733 posts
engagesoftware.com
5th Ranked








Re: Dynamic prefixes for form field ID and Name in a module? 

Are you trying to get this in the codebehind, or with javascript calls? With codebehind you should be able to just reference the original ID. If using javascript you can write the value of that objects ClientID to the page somewhere and use it there.


Chris Hammond
Engage Software
St. Louis, MO
314.966.4000


The leading provider of DotNetNuke skinning, training and custom module development.
Official DotNetNuke® Training Provider
 
New Post 9/5/2008 3:17 AM
User is offline Alex (QEB)
5 posts
10th Ranked


Re: Dynamic prefixes for form field ID and Name in a module? 

Hi,

I'm having a similar question. What if I want to post to an external site? This site would expect a form field x and a form field y, instead it recieves form fields dnn$ctrXXX$NameOfScriptFile$x and dnn$ctrXXX$NameOfScriptFile$y. How do I keep that dynamic part from being added to fields? Can that be done?

Regards,

- Alex.

 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Extend It! ( Pr...  Dynamic prefixes for form field ID and Name in a module?
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, please observe the following posting guidelines:

1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


Intura Vision / Intura Enterprise
Point-of-Sale and business management applications targeted towards quick service, fast casual and delivery-based restaurant concepts.
www.intura.com
Dnaxp.Net
Dnaxp.Net offers a comprehensive base of information, resources, and support for DotNetNuke.
www.dnaxp.net
DNNMasters - modules, consulting, development
DNNMasters developers are involved in DNN development since DNN 1.0.9 and today we offer a broad range of DNN related products and services including custom development of modules, help with ing third party modules for specific needs, general DNN technical support and administrative services.
www.dnnmasters.com

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP