![]() | ![]() Products ![]() ![]() ![]() ![]() |
Home » Technical Support » Elevate Web Builder Technical Support » Support Forums » Elevate Web Builder General » View Thread |
Messages 1 to 5 of 5 total |
![]() |
Thu, Apr 8 2021 2:56 PM | Permanent Link |
Sergei Safar | Hi all,
File / New Form; Drop THTMLForm and inside it: Drop a TRadioButton and set ValueSelected = 5 and SelectionState = ssSelected; Drop another TRadioButton and set ValueSelected = 10 and SelectionState = ssUnselected; Drop a TButton and set the OnClick event with HTMLForm.SubmitForm; Run and do not check any RadioButton and then click Submit button; At the backend (PHP/Apache) the values received for all the RadioButtons are always blank when you do not click any radio button; Now click on the first RadioButton and then submit: the value 5 reaches the backend. Now click on the second RadioButton (Selected), so the first RadioButton now is unselected and and then submit: you get both values, 5 and 10 at the back end. I don't know, at the backend side, which RadioButtob was selected. Am I missing something here? Obs: all others components are ok. EWB 2.06 B10 Regards, Sergei Safar |
Fri, Apr 9 2021 4:06 AM | Permanent Link |
Walter Matte Tactical Business Corporation | Sergei
I would recommend you update to EWB 2.06 B20 - as this will most likely be the end of life build for EWB 2.X, and then test this. Walter |
Fri, Apr 9 2021 4:09 AM | Permanent Link |
Walter Matte Tactical Business Corporation | One thing you could do is put an Editbox on the THTMLForm, set it to Visible False, then when RB1 is clicked set the Editbox to 5 and when RB2 is clicked set the Editbox to 10. When submit is click - back end just check the Editbox.
Walter |
Fri, Apr 9 2021 2:12 PM | Permanent Link |
Sergei Safar | Walter Matte wrote:
One thing you could do is put an Editbox on the THTMLForm, set it to Visible False, then when RB1 is clicked set the Editbox to 5 and when RB2 is clicked set the Editbox to 10. When submit is click - back end just check the Editbox. Walter Hi Walter, thank you for your reply. Doing this solved the problem. So strange, because in EWB1 the radiobuttons work like a charm. Regards, Sergei |
Tue, May 4 2021 3:46 PM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. ![]() | Sergei,
I've finally fixed this and the fix will be available this week in 3.01 B2. Sorry for the long wait for a resolution - it took a bit of time to fix this one. There was a couple of issues: 1) The radio buttons were using independent HTML input values for the HTML forms when they should have been sharing the same one. 2) The HTML input name was not getting updated when a radio button was selected. 3) Both the TCheckBox and TRadioButton controls had incorrect published property declaration orders, which is what caused the HTML input value to be 0 when it should have been set to the proper ValueSelected property during form initialization. Tim Young Elevate Software www.elevatesoft.com |
This web page was last updated on Wednesday, August 14, 2024 at 03:12 PM | Privacy Policy![]() © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? ![]() |