CHANGING AN UPLOAD FIELD’S INFO1 TYPE FROM TEXT FIELD TO TEXT BOX - Oct 25th, 2021


When entering captions on photographs for project, I was continuously running out of room in the info text fields. As an
interim solution I used multiple info fields to hold any overflow text and displayed them all on the web page.

A better approach was to automatically convert info1 fields to a text box format, and Carl from Interactive Tools helped
me create these 2 plugins to accomplish that goal. He also wrote the code necessary to automatically combine the text
from any existing multiple info fields into the new text box so that I didn’t have to re-enter all the existing
information (use this one with caution).

The resulting set of plugins (you need to activate both) seems to convert both existing upload info1 fields and new
ones, but that shouldn’t change the way the fields are displayed on your web pages. The plugins also adds a character
and word count to all text box fields (which could be used independently).

After the text boxes are created and data is entered in them, deactivating the plugins didn't seem to erase any of the
info1 field information from the database, it just changed the info1 field type and how the data is displayed in the
back end. Re-activating them restored the new info1 text box format and the information.

There's an executable form accessible in the plugin listing that is used to combine existing info1, 2, 3, 4, and 5 text
entries into the new info1 text box.

Please do extensive testing to make sure that there are no adverse effects to your live site when using these plugins.

You can download the plugins from:

http://www.thecmsbcookbook.com/downloads/convertInfo1.zip



The materials on this web site have been created for use with CMS Builder content management software. CMS Builder software is published and licensed for use by InteractiveTools.com. Please contact Interactive Tools for information on the downloading of the software or the purchasing of licenses.


Terms of Service