I am wondering if there is a way to make the Form Title editable for user input? Or can I only use a text field?
Thanks for your help.
I assume this is org.eclipse.ui.forms that you are asking about.
The title area of the form heading just uses a Label control, so, no, it can't be editable.
Related
I need to add static text on my form (can't use the xrm notification option) under specific terms I need to show and hide that text but I can't hold it in a field.
First I thought to use an Image with my text on the form, is there a better way to do that?
Like said in comments, HTML web resource is the way to go. You can embed the HTML in a form section/tab and hide them using conditional scripting in form load.
Reference
I have a typo3 server and using the mask extension. When an editor creates a new mask element, there isnt a title in the list view. Its always "no title":
I checked the database and found the titles in the db in the field: tt_content.header but no way to set them automatically oder manually by an editor. Anyone have an idea how the title can be set automatically? Oder manually by an editor?
ext:mask has the option to reuse existing fields of tt_content for new kinds of content elements (CEs). use it to get the bonus of better interoperability with TYPO3.
TYPO3 has a logic how to show records (content elements) in the backend. one of it is the usage of the fields header and description. if you reuse these fields your CEs will look like others automatically.
If you use other fields you need to declare your fields for usage AND in case you change the kind of a CE from your kind to e.g. TEXT with Media the header stays.
Especially header is handled in the layout/partial of FSC or CSC global for any kind of CE. if the handling/rendering is changed (e.g. special layout) in an installation your CEs need special effort if they have their own building of the header.
Try to use the same fields as existing CEs and your life can be easier.
I'm having the same issue, but I found a way around it for the meantime. I edit the mask element and chenge its type to something elseโlike Textโwhere I can set the title. After typing the title I save it, then change back to mask element and save again. This works by me without losing the content of the mask element. This way I can see the title in typo3 backend when I view as list or page or add content from another page. As I said, it doesn't solve the problem, but can help until there is a proper solution.
EDIT
I've just found another solution. You can add the title field to en existing mask element. To do it, go to ADMIN TOOLS > Mask, click your mask element to edit it. Add a new item by dragging the ๐ฆ๐๐ฟ๐ถ๐ป๐ด item (the one on top of the list of available items) to the right where your items are. Then in General under ๐๐ต๐ผ๐ผ๐๐ฒ ๐ณ๐ถ๐ฒ๐น๐ฑ dropdown choose an ๐๐
๐ถ๐๐๐ถ๐ป๐ด named:
๐๐ฒ๐ฎ๐ฑ๐ฒ๐ฟ: (๐ต๐ฒ๐ฎ๐ฑ๐ฒ๐ฟ)
Save, close, go to your page to add your title. This still doesn't add the title field automatically to all mask elements, but it is a step forward.
If anywhere, you should be able to set a static title automatically in your page tsconfig. You could to something like
mod.wizards.newContentElement.wizardItems.mask.elements.[title of your mask element].tt_content_defValues {
header = My Awesome title
}
Personally, I usually give every mask element a header field and ask content editors to fill it in.
See also this discussion on Mask elements and backend titles.
Hope, this helps.
I know we can pass parameters to the title but I am wondering if I can set the full title programmatically when donating the intent. Mostly because I need to handle some grammar rules for English and French.
Thanks
I am guessing this is really simple but I haven't been able to work out a solution.
I have created a form in Kentico and need to show the caption in the form element itself. I can do this in bootstrap but cannot seem to get this to work in the form editor. I am guessing this is because of the id kentico assigns to each form element.
An example would be the search box used on the stackoverflow site.
Does anyone have an idea how to do this?
Thanks,
When configuring some text field and form control is Text box under Editing control settings click 'Advanced' you will see the Watermark section, where you can put your caption (Text field). This caption will be displayed in form element.
I'm using UIActivityViewController to share a screenshot in my app. From my understanding, we can have a text field, an image, and a URL. What I would like to do is have one of the words in my text field be a clickable URL in itself. Something like,
"Check out my high score in myGameName!" where myGameName is a link to my game's website. Basically what I am going for is just like an html link
Link text
where just the 'Link Text' is actually shown. Is there a way of doing this?
No, the text field/image/URL are all separate items, because some services don't support them "natively".
check this library to make attributed label https://github.com/mattt/TTTAttributedLabel
I think you can have a look at OHAttributedLabel