ABdev88 Posted September 30, 2021 Share Posted September 30, 2021 (edited) 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 Edited September 30, 2021 by ABdev88 (see edit history) Link to comment Share on other sites More sharing options...
squni Posted September 30, 2021 Share Posted September 30, 2021 To get this value you need to use: $_POST['zone_remarque'] Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now