Use this board to ask questions or have discussions with other Rich Displays users.
amc
Profound User
Posts: 67 Joined: Thu Jul 29, 2010 1:25 am
First Name: Tony
Last Name: Cusack
Company Name: Welding Industries
City: Adelaide
State / Province: Outside Canada/USA
Zip / Postal Code: 5139
Country: Australia
Location: Adelaide, South Australia
Contact:
Post
by amc » Sun Jul 31, 2011 4:07 am
If I change the checked attribute of a checkbox with JavaScript, the check box on the screen shows the change, but on return to the program, the change is not recognized - it still sees that checkbox as whatever state it was when the screen was rendered.
i am using the following js
Code: Select all
getObj("Checkbox1").checked = !getObj("Checkbox1").checked;
amc
Profound User
Posts: 67 Joined: Thu Jul 29, 2010 1:25 am
First Name: Tony
Last Name: Cusack
Company Name: Welding Industries
City: Adelaide
State / Province: Outside Canada/USA
Zip / Postal Code: 5139
Country: Australia
Location: Adelaide, South Australia
Contact:
Post
by amc » Tue Aug 02, 2011 1:05 am
solved this one, set the modified attribute on.
Code: Select all
getObj("Checkbox1").checked = !getObj("Checkbox1").checked;
getObj("Checkbox1").modified = true;
Brian
Profound Logic Staff Member
Posts: 286 Joined: Thu Apr 14, 2011 10:23 am
First Name: Brian
Last Name: May
Company Name: Profound Logic Software
Contact:
Post
by Brian » Tue Aug 02, 2011 3:48 pm
Glad you solved it. I missed that post all together.
Users browsing this forum: No registered users and 1 guest