jk9783
asked on
Verifying totals
Okay..I have four fields on a form. A B C D They are all used to input a number of copies needed for a Copy Production Center form.
A + B should always equal C + D
Is there a simple formula or lotus script to add this to the submit button as a validation before submitting the form? If so, can anyone tell me what that might be?
Thanks so much!
Janette
A + B should always equal C + D
Is there a simple formula or lotus script to add this to the submit button as a validation before submitting the form? If so, can anyone tell me what that might be?
Thanks so much!
Janette
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Hi Zvo!
Hi Bro :-)
you know what ? I got a cable modem, and now my keyboard is broken. The internet hates me !
still better then your joystick get broken <|;-)
Do you mean Janette can help?
(uups :>) ... I mean with the keyboard :-)
Do you mean Janette can help?
(uups :>) ... I mean with the keyboard :-)
Hey you know what ? I was so dumb that the switch at the back of the keyboard was off...And i realised it only now!
;-)
;-)
it is all right as long as you find Karen's dip switches to turn her on ;-)
Keybord is second impotant :-)
haa haa haa that was a good one... by the way who is karen ???
:-P
:-P
are you working in a form for a web application or notes client ??
this is because if you are doing this submit button for the web, you can accomplish the validation with JavaScript in the client side !!
this is because if you are doing this submit button for the web, you can accomplish the validation with JavaScript in the client side !!
by the way Arunkumar and Zvonko, you have some information about technical conferences for Domino, Linux, programming, etc. to be held in Atlanta, Georgia USA ??
the thing is that i am going to fly this next wednesday for my holidays to Atlanta and i am trying to get information to assist to some tech conferences.
or maybe you can tell me where i can get this information !!
i am not from United States.
the thing is that i am going to fly this next wednesday for my holidays to Atlanta and i am trying to get information to assist to some tech conferences.
or maybe you can tell me where i can get this information !!
i am not from United States.
sorry to bring bad news, but Antlanta is over:
http://www.lotus.com/world/usa.nsf/frame?OpenForm&/world/usa.nsf/allpublic/024F806B745EFA4685256B4A00586FB5
The next Lotus (IBM :-) DevCon is here:
http://www-3.ibm.com/events/ibmdeveloperworkslive/registration.html
Nice trip anyways,
zvonko
http://www.lotus.com/world/usa.nsf/frame?OpenForm&/world/usa.nsf/allpublic/024F806B745EFA4685256B4A00586FB5
The next Lotus (IBM :-) DevCon is here:
http://www-3.ibm.com/events/ibmdeveloperworkslive/registration.html
Nice trip anyways,
zvonko
ASKER
This is a project that's fallen to the wayside and I don't see me having the time to pick it up again anytime soon.
I have not had a chance to check any of your suggestions (shame on me). I would like to take care of this question, though.
Would you like to share the points or delete the Q or what? It's up to you guys since I have pretty much wasted your time on this question since I won't have the time to follow through with it.
I do appreciate all of your help, though.
Janette
I have not had a chance to check any of your suggestions (shame on me). I would like to take care of this question, though.
Would you like to share the points or delete the Q or what? It's up to you guys since I have pretty much wasted your time on this question since I won't have the time to follow through with it.
I do appreciate all of your help, though.
Janette
Hello Janette,
I offered two tested variants, so I vote NOT to give points to my Bro Arun :-)
In any case I am happy you found the time to clean up this question. We have so many abandoned questions here.
And generally, it's nice to here from you again.
I offered two tested variants, so I vote NOT to give points to my Bro Arun :-)
In any case I am happy you found the time to clean up this question. We have so many abandoned questions here.
And generally, it's nice to here from you again.
I thought you love me and ask janette to award me pts but you betrayed me my dear brother....
But Samir gave me a 200 just now.
:=)
But Samir gave me a 200 just now.
:=)
ASKER
No, you're absolutely right. I've gone through and actually looked at the question and you did offer legitimate help. It's all yours.
Thanks again!!
Thanks again!!
As you can see Janette we are more joking and having fun here, so do not take it to serious :-)
Thanks for the points and hope next time to be of more help (together with lovely Arun :)
So long,
zvonko
Thanks for the points and hope next time to be of more help (together with lovely Arun :)
So long,
zvonko
You are my bro buddy !
Janette... Its all fun for us here so, dont you worry. If you still feel something for me then you can post a 500 pt question and award me an "A" for it... I will retire from EE....
:-P
Janette... Its all fun for us here so, dont you worry. If you still feel something for me then you can post a 500 pt question and award me an "A" for it... I will retire from EE....
:-P
Don't do this Janette!!!
If he retires then it get pure work and no fun for me here :-)
(isn't this a declaration of love between Bro's :)
If he retires then it get pure work and no fun for me here :-)
(isn't this a declaration of love between Bro's :)
Okay If i reach 100k then I will retire. Someday I will eventually reach that mark by either begging or stealing.
After that what ? You can delay this but cannot stop the process.
But I can cut a deal with you. If you give me the 2000 pt then I may consider staying back at EE with you with usual fun stuff what do you say ?
Do you say our love costs only 500*4 ??? Lets live the way as it is okay ?
LOL!
-Arun.
After that what ? You can delay this but cannot stop the process.
But I can cut a deal with you. If you give me the 2000 pt then I may consider staying back at EE with you with usual fun stuff what do you say ?
Do you say our love costs only 500*4 ??? Lets live the way as it is okay ?
LOL!
-Arun.
ASKER
Well...a 500 pt question at an A had better involve you spending your vacation time in the cube next to me. I have a few projects I could definitely pass your time with. : )
Don't fret, I'm familiar enough with the workings of EE to understand the humor and banter that happens in serious questions.
Thanks again for your help! and the entertainment!
Don't fret, I'm familiar enough with the workings of EE to understand the humor and banter that happens in serious questions.
Thanks again for your help! and the entertainment!
Hi Janette !
Did you know we guys have a mailing list and discuss in that list like crazee ???
We are always fun loving guys!
Take Care!
Arun.
Did you know we guys have a mailing list and discuss in that list like crazee ???
We are always fun loving guys!
Take Care!
Arun.
FIELD A:=A;
FIELD B:=B;
FIELD C:=C;
FIELD D:=D;
REM "Basic field checking. Do it here or direct in fields...";
@If(@isError(@TextToNumber
@If(@isError(@TextToNumber
@If(@isError(@TextToNumber
@If(@isError(@TextToNumber
REM "This is the Sum check you asked for...";
@If((A+B)!=(C+D);@Return(@
REM "here flows your submit code...";
==========================
Of course upper formula works only if your four fields are of type Number.
Otherwise convert the four values to number for checking, like this:
@If((@TextToNumber(A)+@Tex
Good luck,
zvonko