Solved

Percent Sign upon user input - Numeric Fields

Posted on 2004-08-31
4
244 Views
Last Modified: 2013-12-18
Hi experts,
I have several editable numeric fields formatted as % in a form.
For user "ease" I am trying find a solution to enable a "%" to be appended to the number that the user inputs, to eliminate notes translation ie. 5 to 500%, and the user not having to put % after everything they enter.

Any Suggestions ??

Thanks
Craig.
0
Comment
Question by:cwtaylo
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 19

Expert Comment

by:madheeswar
ID: 11940869
U have answer in ur question.

Try using Input translation
@Text(Urfieldname)+"%"

or what ur looking exactly?
0
 
LVL 24

Accepted Solution

by:
HemanthaKumar earned 125 total points
ID: 11941567
It is not possible to append % and still keep the value of the field as numeric...What you can do is enable percent for the field... but in input translation divide the field value by 100.

eg:

numberfield/100

~Hemanth
0
 

Expert Comment

by:robb3369
ID: 11942357
If the percentage value is always less than or equal to 100%, then try adding this in the field translation:

@If(@ThisValue>1;@ThisValue/100;@ThisValue)


Rob
0
 
LVL 31

Expert Comment

by:qwaletee
ID: 11943277
I would add a separate computed notation right next to the main field, in a different font, that shows the value entered as a per cent value, inlucding the % symbol.  That way, there are no issues of input validation, number conversion, applying the % reduction more than once (20 -> .2 -> .002), etc.  User enters 15, an right next to it you have the text "%", and right next to that, you have a parenthetical (0.15).
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

You’ve got a lotus Domino web server, and you have been told that “leverage browser caching” is a must do. This means that we have to tell the browser everywhere in the web to use cache. In other words, we set (and send) an expiration date in the HT…
Lack of Storage capacity is a common problem that exists in every field of life. Here we are taking the case of Lotus Notes Emails, as we all know that we are totally depend on e-communication i.e. Emails. This article is fully dedicated to resolvin…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
Suggested Courses

635 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question