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  |  

PortalWebHosting
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
Aspose - The .NET & Java component publisher
 


  Sponsors  

Meet Our Sponsors

CrystalTech Web Hosting™
Webhost4life, specialists in DNN hosting
Mad Development is a full service interactive agency focusing on the merge of design, technology, e-commerce, and affiliate marketing by providing total website solutions.
AspDotNetStoreFront - E-Commerce by Design - The Leading ASP.NET shopping cart platform for developers!
Click here to go to dev.live.com for Windows Live developer resources
SteadyRain
 


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
13 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
Online now... Chris Hammond
2791 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.

 


Overlook Technology
Website Development, DotNetNuke Consulting, Module Development, Portal Management
OverlookTechnology.com
DeutschNetNuke = DotNetNuke in German
DeutschNetNuke provides all DotNetNuke related services in German (and English).
www.DeutschNetNuke.de
The Standard in Senior Housing Information
SNAPforSeniors provides consumers with free online resources to assist them with their search for senior housing
www.snapforseniors.com

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