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 ListNumber formatting applied to input fieldsNumber formatting applied to input fields
Previous
 
Next
New Post
1/16/2013 1:07 PM
 

I'm having a problem with Integer fields in Form and List. When I edit an existing record, values with more than 3 digits are filled in to the text box as formatted numbers (e.g. "12,345" instead of "12345"). When I attempt to save the record, the validation routine complains that it is not a valid integer value. In order to edit and re-save an existing record, it is necessary to go through all the integer fields and remove the commas.

The "Output Format" in the List Settings has no bearing; numbers appear with comma formatting in the form field even if they appear without it in the list view. They are stored without formatting in the database.

Has anybody else run into this? Or can anybody with the same version confirm that it works for them? I'm running Form and List 6.0.4 on DNN 7.0.2

Thanks!

 
New Post
1/30/2013 9:37 AM
 

Hello..

I've had issues like this before as well.  This is what I ended up doing.

Change the column from an integer to a text.  Then for the validation for said text box, set it as \d{4}.  This tells the text box to only allow digits up to 4 characters in length.

If you're adding these columns together, then you'll need to convert them back to integers, etc within your XLST.  Otherwise, when you edit the form, they'll be displayed without the commas.

Hope this helps.

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsForm and ListForm and ListNumber formatting applied to input fieldsNumber formatting applied to input fields


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