List Manager Forum

Form view

User franky466 2015-06-19 19:06:34

Hello,

how can i change the default size of the textarea in the form view ?

Moonsoft support 2015-06-20 08:58:06

Hello,

You can customize any input using the field parameter 'Css class'. You can add there any existing class name or create a new class that you can add to css file setting width, height or any other property.

Hope this helps. Regards,

User franky466 2015-06-20 16:49:19

Thanks,
but I don't find the right way. All attempted changes were unsuccessful. Please give me a hint in which file I should write what code to adjust the height of the textarea in the formview to 200px.

Example:
if I add a new data in the backend in a table the inputfield "textarea" is 300px high. The input field "text" is smaller.
When I go to a table to add new data in the frontend, the inputfields "textarea" and "text" are identical.

I want that in the frontend in the formview the inputfield "textarea" is shown higher than the inputfield "text".

Edited by franky466 - 20.06.2015 22:18

Moonsoft support 2015-06-22 09:14:14

Hi,

Sorry, which style did you tried to set the property?. Something like this should do the work:

.mytextarea{
height:200px;
}

added to any css present at the page and selecting 'mytextarea' as css class for your field.

Regards,

User franky466 2015-06-22 09:47:48

Hello,

it's not quite what I mean, but I did it myself solved. With your solution, not only the input field in the modalbox is larger, also the corresponding column in the table.
I solved it with

#lm_wrapper .mytextarea{height:auto} in the lmbootstrap-default.css

The default value of the textarea is now much larger than in a normal text box, and the column in the Table Number is even as high as it should be.

Thanks and best regards

User franky466 2015-06-22 10:43:20

Hello again,

you can see what i mean at http://demo3.fr-its.de

Moonsoft support 2015-06-22 11:50:39

Hi,

Ok, thanks for sharing.

Regards,

...
Support/development

Perfect for small code changes or to correct any bug at your site

Buy now!
...
Support/development 10 hours

Get a bigger amount of hours for more complex tasks and get a 10% discount

Buy now!