Welcome to OCS Inventory NG community support, where you can ask questions and receive answers from other members of the community.

Please ask questions only in English or French.

Release 2.12.3 available

The official documentation can be found on https://wiki.ocsinventory-ng.org. Read it before asking your question.

Admin data TEXTAREA vs TEXT

Before 2.5 there were two types of the texts in administrative data: TEXTAREA (multi-line) and TEXT (single line).

These types remains in 2.12, but since 2.5 the textarea displayed as text.

For example: (real code taken from my inventory). FIEILDS_41 declared as TEXTAREA.
but I see it as single line text

<input type="text" name="fields_41" id="fields_41" value="" class="form-control"> 

When I changed the HTML (using Chrome built-in devtools) to:

<textarea name="fields_41" id="fields_41" rows="5" cols="40"></textarea>

I saw what I want: multiline text area. What and where should be corrected in php's to show the textarea as TEXT AREA, not as single line text?

in Administrative console by (400 points)

Please log in or register to answer this question.

 
Powered by Question2Answer
...