Jump to content

Customfield whmcs + hook


Recommended Posts

Pessoal, esse é meu primeiro post e se enviei na sessão errada me desculpem.

Estou começando como WHMCS. Criei um campo personalizado com nome de CPF e o campo tem o nome "customfield[3]"

<input type="text" name="customfield[3]" id="customfield3" value="" size="30" class="form-control" />

Minha dificuldade é que coloquei um arquivo PHP na pasta "hook" para validar o mesmo, mas não consigo receber a variável nesse arquivo PHP.

Usei todas as opções:

$CPF = $customfield[3];

$CPF = $_post ['customfield']['3'];

e outras mais... mas não consigo receber o valor do campo "customfield[3]" no PHP... se alguém tiver uma dica agradeço

Edited by cristian_hs
Cliquei no enviar antes de terminar o texto.
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

Do you agree with our terms?