Jump to content

Edit History

ABdev88

ABdev88

I have a problem with registering a custom field in the payment page:
I created files:

  1. 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
ABdev88

ABdev88

I have a problem with registering a custom field in the payment page:
I created files:

  1. 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');

    Can someone help me?

    Thanks
×
×
  • Create New...