Feature Requests
Share ideas, discuss and vote on requests from other users in community

Remove password from order form

Gabriel Boutin shared this idea 2 years ago
Already Possible


as our proxmox module already generates random and secure passwords, we would like to remove the password field from the order form.


Client sometimes put bad passwords and get bruteforced, or sometimes the passwords are too short and their VPS doest get automatically created


We already tried to remove the password field, but as it is required, the client gets an error for an unvisible field.

Same goes for NS servers


Comments (1)


Hi there,

Thanks for your suggestion. Fields can be hidden from the order form by way of a template customisation to /templates/orderforms/*your child template*/configureproduct.tpl. The key part is to pass a default value.

So this line:

  1. <input type="password" name="rootpw" class="form-control" id="inputRootpw" value="{$server.rootpw}">


  1. <input type="hidden" name="rootpw" class="form-control" id="inputRootpw" value="NA">


For nameservers:

  1. <input type="text" name="ns1prefix" class="form-control" id="inputNs1prefix" value="{$server.ns1prefix}" placeholder="ns1">


  1. <input type="hidden" name="ns1prefix" class="form-control" id="inputNs1prefix" value="ns1" placeholder="ns1">