Login
Register
Search
Home
Forums
Jobs
LawsonGuru
LawsonGuru Letter
LawsonGuru Blog
Worthwhile Reading
Infor Lawson News Feed
Store
Store FAQs
About
Forums
User Experience
Lawson Design Studio
testing value of radio button
Home
Forums
Jobs
LawsonGuru
LawsonGuru Letter
LawsonGuru Blog
Worthwhile Reading
Infor Lawson News Feed
Store
Store FAQs
About
Who's On?
Membership:
Latest:
AdamP
Past 24 Hours:
1
Prev. 24 Hours:
0
Overall:
4989
People Online:
Visitors:
42
Members:
0
Total:
42
Online Now:
New Topics
Top Forum Posters
Name
Points
Greg Moeller
4184
David Williams
3349
Kat V
2984
Woozy
1973
Jimmy Chiu
1883
Kwane McNeal
1437
Ragu Raghavan
1377
Roger French
1315
mark.cook
1244
Chris Martin
825
Forums
Filtered Topics
Unanswered
Unresolved
Active Topics
Most Liked
Most Replies
Search Forums
Advanced Search
Prev
Next
Forums
User Experience
Lawson Design Studio
testing value of radio button
Please
login
to post a reply.
2 Replies
0
Subscribed to this topic
13 Subscribed to this forum
Sort:
Oldest First
Most Recent First
Author
Messages
Joe O'Toole
Veteran Member
Posts: 314
New Poster
Congrats on posting!
8/7/2009 9:38 PM
I rarely use radio buttons in DS and having an issue with the value test. My "lawgetform" test works for other fields but is not working to test the value of my 2 element radio button. I've got an "X" value assigned in the button def but when I test the value the form blows up. Can anyone provide an example? Here is my code that checks the button value, another field value and display an error accordingly:
if (lawForm.getFormValue("radiobutton_name") = "X") {
if (lawForm.getFormValue("FIELD") > "799") {
alert("FIELD must be < 800");
return;
}
}
Eric Lopez
New Member
Posts: 1
8/10/2009 1:14 PM
Split
Hey Joe - two items. I don't do Lawson anymore, but I would like to help if I can. If that is the actual JavaScript...
Your "test" for X should be double == signs, a single = sign will attempt to assign the value.
What is the actual error? You mentioned blow up.
Joe O'Toole
Veteran Member
Posts: 314
New Poster
Congrats on posting!
8/10/2009 9:01 PM
Split
Thanks Eric, that was it. So simple I overlooked it!
Joe
Please
login
to post a reply.