How do I limit to the sum of a string of added numbers


i have set of fields total should not exceed 100. numbers entered user numeric fields , have give error user until total equal 100. in context, it's survey user fill in percentages fields , total percentage not exceed 100.

fyi, looked in menu , searched forum similar solution. ironically, hardest part of explaining need!

i'm using livecycle designer 8

thanks!

this have done in past , works me.
using javascript select validate.

this code used.

if (this.rawvalue > 100)
{xfa.host.messagebox("the total must 100% or less.")};

this not prevent them entering number tells them wrong.

hope helps
carol


More discussions in LiveCycle pre-ES (6.x and 7.x) discussions


adobe

Comments