I have a problem with registering a custom field in the payment page:
I created files:
-
Payment_form.tpl
<form action = "{$ link-> getModuleLink ('order_validate', 'validation', [], true) | escape: 'html'}" method = "POST"> <label for = "zone_remarque"> Note </label> <input type = "text" name = "zone_remarque" id = "zone_remarque" /> </form>
2- in the validation.php controller
I cannot retrieve the value of the text zone via: Tools :: getValue ('zone_remarque');
Someone can help me please ?
Thanks