jQWidgets Forums

jQuery UI Widgets Forums Form jqxform hidden field

Tagged: 

This topic contains 5 replies, has 3 voices, and was last updated by  Hristo 4 years, 7 months ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
  • jqxform hidden field #107755

    Marina
    Participant

    Is it possible to have hidden field for form. i need to populate value of this field from popup window and be hidden but i want it to be posted when on submit.

    jqxform hidden field #107759

    Hristo
    Participant

    Hello Marina,

    You could try to use the hideComponent method of the jqxForm.
    Please, take a look at this example.

    Best Regards,
    Hristo Hristov

    jQWidgets team
    https://www.jqwidgets.com

    jqxform hidden field #112483

    JenkeNg
    Participant

    Looking at this example, why does it seem that nothing happened when I use this function?
    example

    jqxform hidden field #112488

    Hristo
    Participant

    Hello JenkeNg,

    Thank you for the feedback.
    I will create a work item for this case.
    As an alternative, you could try to hide the whole row.
    Please, take a look at this example:
    $("#sampleForm").find("tr")[0].style.display = "none";

    Best Regards,
    Hristo Hristov

    jQWidgets team
    https://www.jqwidgets.com

    jqxform hidden field #112490

    JenkeNg
    Participant

    Thank you, I will adopt your suggestion. I have another question, is it possible to set the color of the label, if so, how can I do it?

    jqxform hidden field #112495

    Hristo
    Participant

    Hello JenkeNg,

    In the API Documentation page, you could find all available options.
    If you want you could try to add some styles there.
    Please, take a look at this example:

    [id^="label"] {
        color: orange;
    }

    Best Regards,
    Hristo Hristov

    jQWidgets team
    https://www.jqwidgets.com

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.