editor hidden fields

editor hidden fields

ledled Posts: 14Questions: 6Answers: 0

I have a problem with editor hidden fields. When i set the id as hidden , the value, is the pk of the table and is not sent
{
"ID":undefined,
"NOME": "TCPioiuouiweew",
"NOME_REDZ": "Matias 5588 54445retrertr",
"EMAIL": "rosa.castanho@demo.pt",
"EMAIL_PESSOAL": "leo@leo.leo",
"TELEMOVEL_1": "(546) 666 666 666",
"TELEMOVEL_2": "235325",
"SEXO": "F",
"CD_PAIS": "",
"CD_DISTRITO": null,
"CD_CONCELHO": null,
"CD_FREGUESIA": null,
"DT_NASCIMENTO": "654"
}

Answers

  • ledled Posts: 14Questions: 6Answers: 0
    edited May 2016

    that means that i cannot hide the pk field? I am the develop of PMENGO USER . Thanks

  • allanallan Posts: 63,794Questions: 1Answers: 10,513 Site admin

    I should be quite possible to use the hidden field type. Its just like a normal field but simply not displayed to the end user. If that isn't working for you, can you link to a page showing the issue so I can debug it please.

    Allan

  • ledled Posts: 14Questions: 6Answers: 0
    edited May 2016

    http://www.quad-systems.pt/QUAD_HCM/#ajax/datatablePROTO.php

    rhid field is hidden and no input control at all
    <div data-dte-e="input" class="DTE_Field_Input"><div data-dte-e="input-control" class="DTE_Field_InputControl" style="display: block;"> **empty , no control** </div>

  • ledled Posts: 14Questions: 6Answers: 0

    cannot properly format html :(

  • allanallan Posts: 63,794Questions: 1Answers: 10,513 Site admin

    The hidden type doesn't use an HTML input element. It stores the information in Javascript.

    Could you tell me specifically what I should be looking at on your page? When I submit the form, what should be happening, and what is wrong with what is happening?

    Allan

  • ledled Posts: 14Questions: 6Answers: 0

    {
    "RHID":undefined,
    "NOME": "TCPioiuouiweew",
    ....
    RHID is undefined . data is not sent correctly. Let me debug a litle bit more. Thanks

This discussion has been closed.