Check if Radio Button is clicked (Selected) - Smarty Template

Dextranovich

I have to implement a solution in PHP/OXID in this way: To have radio button during the checkout, and if the radio button is selected, variable $customerAnswer to be assigned with 'Ja'. If not, with 'Nein'. So, I know how to implement this by submitting the form, but the variables should be assigned to the controller without reloading the page.

I have defined radio button in smarty template:

<input type="radio" name="AcceptTerms" value="Ja/Nein"/>

Thank you for your help.

Dextranovich

I solved the problem with using AJAX that sends radio button value to the controller when it’s clicked without reloading the page.

Thanks for your help!

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

Check for selected radio button

From Dev

Check if a radio button is selected

From Dev

PHP check if a radio button is clicked

From Dev

How to check if a radio button is clicked?

From Dev

jQuery Check if a Radio Button is Selected or not

From Dev

highlight image when clicked on then check a radio button

From Dev

How to check if radio buttons are selected on button click?

From Dev

How to check if the radio button is selected or not in Selenium WebDriver?

From Dev

JavaScript validation to check if a radio button is selected?

From Dev

How to check if the radio button is selected or not in Selenium WebDriver?

From Dev

Is there a way to check if the nth radio button is selected in jQuery?

From Dev

check all radio list radio button has been selected or not on gridview

From Dev

How to check if any of the Radio buttons are checked or not when clicked on submit button

From Dev

Is it possible to use if condition to check if the radio button is clicked in Underscore templating?

From Dev

Radio button clicked with label

From Dev

How to check which radio button is selected if they're all runat server?

From Dev

jQuery After page loaded, check if radio button selected

From Dev

How to check which radio button is selected if they're all runat server?

From Dev

Check if a radio box is selected

From Dev

checking if a radio button is selected

From Dev

Radio button selected is always on

From Dev

How do I check which radio button is selected when there are multiple radio buttons with the same name? (using jquery)

From Dev

If radio button in div is clicked then corresponding radio button in other div is clicked

From Dev

Find header of Clicked Radio Button

From Dev

radio button of a class clicked jquery

From Dev

How to check if a button is clicked or not?

From Dev

how to check if button is clicked?

From Dev

How to check if a button is clicked or not?

From Dev

check if button was clicked in the controller

Related Related

  1. 1

    Check for selected radio button

  2. 2

    Check if a radio button is selected

  3. 3

    PHP check if a radio button is clicked

  4. 4

    How to check if a radio button is clicked?

  5. 5

    jQuery Check if a Radio Button is Selected or not

  6. 6

    highlight image when clicked on then check a radio button

  7. 7

    How to check if radio buttons are selected on button click?

  8. 8

    How to check if the radio button is selected or not in Selenium WebDriver?

  9. 9

    JavaScript validation to check if a radio button is selected?

  10. 10

    How to check if the radio button is selected or not in Selenium WebDriver?

  11. 11

    Is there a way to check if the nth radio button is selected in jQuery?

  12. 12

    check all radio list radio button has been selected or not on gridview

  13. 13

    How to check if any of the Radio buttons are checked or not when clicked on submit button

  14. 14

    Is it possible to use if condition to check if the radio button is clicked in Underscore templating?

  15. 15

    Radio button clicked with label

  16. 16

    How to check which radio button is selected if they're all runat server?

  17. 17

    jQuery After page loaded, check if radio button selected

  18. 18

    How to check which radio button is selected if they're all runat server?

  19. 19

    Check if a radio box is selected

  20. 20

    checking if a radio button is selected

  21. 21

    Radio button selected is always on

  22. 22

    How do I check which radio button is selected when there are multiple radio buttons with the same name? (using jquery)

  23. 23

    If radio button in div is clicked then corresponding radio button in other div is clicked

  24. 24

    Find header of Clicked Radio Button

  25. 25

    radio button of a class clicked jquery

  26. 26

    How to check if a button is clicked or not?

  27. 27

    how to check if button is clicked?

  28. 28

    How to check if a button is clicked or not?

  29. 29

    check if button was clicked in the controller

HotTag

Archive