Set hidden fields in Create window and send it to server

Set hidden fields in Create window and send it to server

MundaringMundaring Posts: 34Questions: 12Answers: 1

I have a field in my create window, but I need to hide that field. Once I hide it the information is not passing to the server. I have tried this:


this is the variable in the main screen to set the value var typeId = $('#Id').val(); this is my field in editor (Create) , { label: "Type Id:", name: "TypeId", type: "hidden" } //Set TypeId for new entries editor.on('open', function () { //set values $('#DTE_Field_TypeId').val(typeId); //hide fields editor.field('TypeId').hide(); });

Everything is working until I set hidden to the field.

How can I solved this issue.

Thanks,

Wilson

This question has an accepted answers - jump to answer

Answers

  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin
    Answer ✓

    It should still be getting set to the server like that. Could you give me a link to the page so I can see exactly what is happening please.

    Thanks,
    Allan

  • MundaringMundaring Posts: 34Questions: 12Answers: 1

    It is an intranet development. But I finally solved it.

    Thanks,

    Wilson

This discussion has been closed.