Convert existing text field to Html field using TinyMCE - tinymce

I'm using TinyMCE 4.7.12. User input entered via text field is stored in database. If I need convert this existing text field into HTML field, how existing text input will be rendered or will be affected when converted to HTML field.

Related

Fluidtypo3 Flux - save in table field

I'm trying to develop a frontend extensions with typo3 - fluidcontent. Is it possible to use the bodytext field of the tt_content table instead of the flexform field?
I would like to connect this text element with the tt_content.bodytext field.
<flux:field.text name="bodytext" label="Content" />
You can force Flux to save to the record itself, rather than the flexform field, by prefixing your field names with the name of the table that your form applies to. For example, since this implementation is for tt_content, you can name the field tt_content.bodytext and the value will be saved to that field instead.

Adobe Acrobat form fields are all auto completing

In Acrobat preference I have auto complete turned off.
When I fill in one form field, all of the other form fields are filled in too with the same word?
So if I enter 'hello' into one field all the other form fields on the questionnaire get the value 'hello'.
I copied and pasted the form fields for each question to save time, surely that doesn't mean each form field in the questionnaire is just one form field, or does it?
How can I separate each form field so it can hold its own answer?
I found an answer to my question.
Fields with the same name will automatically get the same value, so each form field needs a different name.
If you create one form field, then right click on the form field in the menu on the right and choose 'place multiple fields', you can then input how many fields you want for the form along with other options. Acrobat then names each form field separately for you.

Type enforcing input field

I am building a form with variable input fields. How the form is actually set-up (which fields and which types) is read from a database. To do this I would be using Panels, since there are also several labels per input field. The panels are then being displayed in a ListView.
When doing this, I do not like the idea to create a different panel which different markup files for each type of input (text, radio, checkbox,...), since TextField etc. check for the type set in the markup.
Is there an input field that does not read the type from markup, but supports all/some input types? Any alternative suggestions?

Why can't magento accept `content` as a database field name?

I am creating a new module and in that module I add a form which has a field name content in the database.
Now when I add a wyswig editor in this form with the field name content in the database, the layout of the form in the backend changes completely as compared to default layout.
But when I changed the database field name from content to any other name lets say content_html or content_h etc etc., the layout of the form now appeared as a default form.
This happens only when I use wyswig editor, and without wyswig if I create simple form it accepts the values in the database under the content field name.
Why can't magento accept the content as a field name, using wyswig editor.
the problem is that magento sets the id of the element to same as the name and the id
content is already present:
<div class="main-col" id="content">
try to set a prefix to your for your form
$form->setHtmlIdPrefix('something_')
that should fix it

How to use a form text component multiple times through CRX DE in CQ5

I want to add a form text component multiple times in a page and give different id's to them in CQ5.
The default form text component doesn't provide option to specify an id, rather it generates one itself.
The id that is generated is the formId_elementName, where formId is the id of the form which is present in the form start component(defaults to "new_form") and the elementName is the value that is provided in the Element Name field of the form text component.
But, in case you would like to provide the authors, the ability to add their own id's to the form start component, then one possible way would be to override the default form text component.
Add an additional field to the dialog box of the form text component called id and use that value in the jsp as id for the input field. But be cautious when providing this functionality, as the authors may forget to update the id fields appropriately, there by resulting in many text fields having the same id.