Solved

Percent Sign upon user input - Numeric Fields

Posted on 2004-08-31
4
239 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
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Lotus Notes 8.0 Forward emails for 30 days. 8 94
Lotus notes forward mail problem 5 383
Bulk lotus notes account creation 3 74
Lotus Notes Calendar Help 6 98
For users on the Lotus Notes 8 Standard client, this article provides information on checking the Java Heap size and adjusting it to half of your system RAM in attempt to get the Lotus Notes 8.x Standard client to run faster.  I've had to exercise t…
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…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

867 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now