Skip to content

Instantly share code, notes, and snippets.

@mdpuma
Created December 8, 2018 07:42
Show Gist options
  • Save mdpuma/81aac63965beb6a3c3e094f403d18cea to your computer and use it in GitHub Desktop.
Save mdpuma/81aac63965beb6a3c3e094f403d18cea to your computer and use it in GitHub Desktop.
hide ns1 ns2 prefix on order form whmcs
# /templates/orderforms/standard_cart/configureproduct.tpl
$("#inputNs1prefix").val('ns1');
$("#inputNs2prefix").val('ns2');
$("#inputNs1prefix").parent().parent().parent().css("display", "none");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment