Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsForm and ListForm and ListForm and List Multiple value-single field and validationForm and List Multiple value-single field and validation
Previous
 
Next
New Post
9/22/2010 1:05 AM
 
Hi

I have just created a form and the email functionality is also fine.
we have a new requirement now and is described below

1. We would like to add a Mobile Field but needs the following
       Field Name: Mobile - should have a drop down list with a 3 digit number and just beside it should be a text box where the user can enter 7 digits.
2. Similarly to capture telephone Number
       Field Name Telephone - should have a drop down list with a 2 digit number and just beside it should be a text box where the user can enter 7 digits.
3. When the user clicks "Submit" the form should be send to the user with the Mobile being one of the 3 digit number chosen with the keyed in 7 digits from the text box. The same should happen for the "Telephone Number"
4. The form has a Building No:- 
        Could i place the value "None" in the beginning of the list and make the user to select the buildings in the list other than leaving it "NONE". What kind of validation do i put.?

Help/thoughts appreciated.?
Thanks

      
 
New Post
9/22/2010 2:14 AM
 
1./2. requires a custom datatype
3. are you referring SMS messages? 
4. ^((?!NONE).)*$   -> http://stackoverflow.com/questions/40...
 
New Post
9/22/2010 2:27 AM
 
Hi Stefan

Thanks for the help

I will check for 1 and 2 wheter i could create a custom datatype. Havent created so far ? is this possible.

3. I was not referring to SMS Messages. May be my query was not clear. I was trying to do the following
       in the mail which will be send to the user and the servicedesk@c2.com, i was trying to combine the value from the Mobile Drop down list and the next field(text field which is 7 character)

4. Fixed

Thanks for support

 
New Post
9/22/2010 1:58 PM
 
1.-3. must be handled with a custom datatype, which requires some coding. I posted an example a while ago: http://www.formandlist.com/blog...
 
New Post
9/24/2010 10:13 PM
 
If I understood correctly, I believe this be done by creating calculated column that will concactenate the selected dropdown value with the text field value? I needed a unique ID to be able to identify records per department, so all I did  in the expression of the calculated column(labeled DeptID) was [Dept Name] + [UserDefinedRowID] and that gave me what I wanted. The user selects the dept. from a dropdown list and based on the selected item it combined it with the row id to make my Dept ID
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsForm and ListForm and ListForm and List Multiple value-single field and validationForm and List Multiple value-single field and validation


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, 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 DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out