Making title field in list options larger

teryhill wrote on Wednesday, October 21, 2015:

Has anyone addressed making the title field in list options larger. I have users that want to enter a short story in their lists.

Terry

fsgl wrote on Wednesday, October 21, 2015:

Can’t you go into the file to expand the number of characters for their Gift of the Magi or are you trying to avoid duplication of efforts?

teryhill wrote on Wednesday, October 21, 2015:

I can increase the length of the field and just see what breaks, I was hoping that some one else had already blazed that trail.

Thanks

Terry

teryhill wrote on Wednesday, October 21, 2015:

The field is set to varchar 255. It is in the program that the limitation occurs.

On my list to change

Terry

fsgl wrote on Wednesday, October 21, 2015:

Which begs the question; by the time the client scrolls down to the last sentence of “War and Peace” on page 1296, would it be more efficient just to type the words in?

visolveemr wrote on Wednesday, October 28, 2015:

Hello Terry

Try changing the input type of ‘title’ field from ‘text’ to ‘textarea’. This can be done in the file ‘interface/super/edit_list.php’. If you want to add more than 255 characters then also need to change the data type to ‘text’ instead of ‘varchar 255’.

Thanks
OpenEMR Customization/Support Team,
ViSolve Inc
services@visolve.com | Phone: 408-850-2243
Demo’s @ ViSolve Demo Library

teryhill wrote on Thursday, October 29, 2015:

Visolve it was easier than that . The issue for what ever the reason is that while that field is varchar(255) in the database it was set to max length 63 on about line 288 so I increased it to 130. Oh and yes it is in the edit_list.php file.

htmlspecialchars($title, ENT_QUOTES) . “’ size=‘20’ maxlength=‘125’ class=‘optin’ />”;

Terry