I have a form in w2ui (https://w2ui.com/web/), exactly in the part of the forms (https://w2ui.com/web/docs/2.0/form).
I have the following form:
$().w2form({
name : 'myForm',
fields : [
{ name: 'first_name', type: 'text', required: true },
{ name: 'last_name', type: 'text', required: true },
{ name: 'comments', type: 'text'}
]
});
What I am doing is that through a button, call a function to change the style of the form as follows:
w2ui.$("#myForm").style("height: 500px");
But I have not succeeded because it gives me an error: w2ui.$ is not a function
I have also tried the following:
$("#myForm").w2form().style("height: 500px");