UI widget - read only multiline text box

Is it possible to have a read only multi line text box?
These are all the widgets I could find the the documentation, am i missing one?
InDesign Name
Text editbox control
Real editbox
integer editbox
measurement editbox
percent editbox
angle editbox
Drop-down control
Combo-box control
Check-box control
Radio-button control
None of these seem to allow for multiple lines.
Thanks!

Hi nycynik,
There isn't a multi-line text control in the InDesign dialog object. If you're using JavaScript, you be able to create such a thing in ScriptUI dialogs--I'm not familiar enough with ScriptUI to know, right off the top of my head.
Thanks,
Ole

Similar Messages

  • Need to read text file content and have to display it in multiline text box

    dear all,
    Need to read text file content and have to display it in multiline text box.
    actually im new to file handling. i have tried up to get_line and put_line.
    in_file := TEXT_IO.FOPEN ('D:\SAMPLE.txt', 'r');
    TEXT_IO.GET_LINE (in_file,linebuf);
    i dont know how to assign this get_line function to text item
    pls help me in this regards,

    Simply write:
    in_file := TEXT_IO.FOPEN ('D:\SAMPLE.txt', 'r');
    TEXT_IO.GET_LINE (in_file,linebuf);
    :block2.t1 := chr(10)||:block2.t1||chr(10)||linebuf;
    chr(10) --> is for new line character

  • SharePoint 2010 list view - How to filter on a multiline text box field - the view filter does not allow me to select it.

    Hi there,
    Does someone know in SharePoint 2010 list view - How to filter on a multiline text box field - the view filter does not allow me to select it.
    Thanks,

    Hi,
    Per my knowledge,
    it is by design that the data type multiple lines of text can only use “contains” and “begins with” operators.
    You can also filter the list view using SharePoint Designer,
    Open your list AllItem.aspx page in SPD ->click “Filter” > in “Field Name” select your multipe line of text field, in “Comparison” will displayed four choices.
    Best Regards,
    Lisa Chen
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Count the number of carriage returns in a multiline text box

    Hello,
    I have a script to count the number of carriage returns at the end of each line of text in a multiline text box.
    After running the script in the console, the result keeps showing as 0.
    Can anyone please advise how the script can be revised to count the number of carriage returns?
    var count = 0;
    for (var i = 0;  i < this.getField; i++)
    var f = this.getField("ActionAgenda");
    if (f.value =="\u000d") count++
    console.println("There are a total of "+ count + " carriage returns.");
    Any assistance will be most appreciated.

    Try this:
    var count = 0;
    var s = getField("ActionAgenda").valueAsString;
    for (var i = 0; i < s.length; i++) {
        if (s[i] === "\r") count += 1;
    console.println("There are a total of "+ count + " carriage returns.");

  • What is the best way to create a read more/collapse text box on the homepage of a site?

    What is the best way to create a read more/collapse text box on the homepage of a site?

    I figured this out by using a lightbox. I set the trigger at the top of the box, hid all initially and added a close button. In the box that would have linked to the first thumbnail for the lightbox, I added a text box that said "read more"

  • Trouble with multiline text box reading from xml file

    Hi,
    I have a text area, set to multiline.  For some reason, when my text imported from xml shows up in the box, it starts several lines down into the box.  So for example, my Text box is positioned with the top at the midpoint of my stage, but the text starts about 3/4 down the page, about half way down the text box.  Can someone please tell me why this is happening and what I can do to fix it?
    I noticed that when I put my cursor in the box and move it up and down, the rest of the text 'scrolls' into the frame, but otherwise it's cut off.  please help!
    Thanks,
    Stan

    Could you show your XML?

  • SharePoint 2010 : How to display ALL Version History of a list item's multiline text box in a same list as a list view column?

    In SharePoint 2010 , I have version history enabled multiple text box 'issue details'.  Users mainly uses Data Sheet view and it does not show all version history of that multiple line text box, is there anyway we can display list view column in
    data sheet view to display all version history?
    2) If we can not display in datasheet view, in standard view, it should display all version history instead of just a link  to -view all entries'
    I have found one article here and it posts to use below line of code in sharepoint desinger
    <SharePoint:AppendOnlyHistory runat="server" ItemId="{$thisNode/@ID}" FieldName="Issue_x0020_Details" ControlMode="Display"></SharePoint:AppendOnlyHistory>
    WHen I use this line of code , it displays multiple line of same version history instead of each, please help.

    Hi
    Greetings. Hope it helps 
    https://social.technet.microsoft.com/Forums/sharepoint/en-US/d1be5434-7dc9-4941-bf1d-8c12d7e6a155/display-version-history-in-list-view-column?forum=sharepointcustomizationlegacy
    Please remember to click 'Mark as Answer' on the answer if it helps you

  • Ho to make a read only / disabled input text mandatory?

    Hi All,
    I'm using ADF to display data for a human task. Part of my requirement is to display a payload attribute as an output text/ read only input text. If this is null, the form should compel the user to choose from a list of values.
    How do I make an output text mandatory? Is there another way around this?
    I tried creating an input text and making it read only and mandatory, this doesn't work. Apparently, you cant make a disabled/read only input text mandatory?
    JDev : 11.1.1.4
    Thanks
    PP

    Hello! What does mandatory field mean for you? If there should be validation while saving, it will be: faces message will be shown with text, as it is defined in business rules in entity object. If you just wish to see blue “*” in front of label, just use “panelLabelAndMessage” component with “showRequired” property = “true”. If you wish to see some red frame around disabled field or button, if it has null value, I don’t know how to help you, but wish to know how to do that too.

  • How can I specify what type of text people can enter in a text box, on a fillable form?

    I have an end user that wants to make it so that others who type text in a fillable form can only enter a specific email domain (example: [email protected]).  This would be for only one text box in the form.  Is this even at all possible, and if so, any guidance on how to make this happen?  Thanks!
    Jason

    I suppose we could do it that way, but I wouldn't know how to advise the user to do this.  (I am not an Acrobat user, I just handle installations and basic support).  Could you walk me through it?

  • Read-only JSpinner?

    This may seem a little weird, but bear with me; I think the use case is valid.
    I am writing an abstract java.beans.Customizer that makes use of the JGoodies Binding framework, specifically the PresentationModel class. You need not know any details about this class except that it makes working with Java Beans properties very simple and allows many views to reflect changes in a common underlying model (the bean itself).
    Users of this Customizer who subclass it typically need to create some kind of Swing widget and bind it to a bean property, like so:
    this.bind(this.ageSpinner, "age");As I hope is clear this means bind the Customizer's bean property "age" to the ageSpinner component, which, for the sake of this question, let's assume is a JSpinner.
    Now, it just so happens that getAge() happens to be a computed property (that is, there is no setter).
    I would like it to be the case that if someone decides to bind a JSpinner to a read-only property that the spinner would not permit edits of any kind.
    I would also like it to be the case, however, that the user could, if they so desired, select text in the JSpinner's editor. This means that jSpinner.setEnabled(false) doesn't cut it.
    JSpinner does not support an "editable" property, and its editor already has a read-only JFormatted text field. What I need to do is disable any effect the spinner's buttons may have on its associated JFormattedTextField. What's the best way of doing this?
    Thanks,
    Laird

    not sure what you're trying to do - seems like you don't want to disable the
    spinner, just the buttons
    if so, this seems to work OK (1.4.0_01)
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    class Testing
      public void buildGUI()
        JPanel p = new JPanel();
        JSpinner spinner = new JSpinner(new SpinnerNumberModel(50, 0, 100, 5));
        spinner.setUI(new MyUI());
        p.add(spinner);
        JFrame f = new JFrame();
        f.getContentPane().add(p);
        f.pack();
        f.setLocationRelativeTo(null);
        f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        f.setVisible(true);
      public static void main(String[] args)
        SwingUtilities.invokeLater(new Runnable(){
          public void run(){
            new Testing().buildGUI();
    class MyUI extends javax.swing.plaf.basic.BasicSpinnerUI
      protected Component createNextButton()
        return new javax.swing.plaf.basic.BasicArrowButton(SwingConstants.NORTH);
      protected Component createPreviousButton()
        return new javax.swing.plaf.basic.BasicArrowButton(SwingConstants.SOUTH);
    }

  • Text box ignores spacing settings.

    Using the tooltip widget. Put a text box inside the trigger. Set left, right, and bottom spacing.
    Right spacing is ignored.
    Removed spacing and used left and right margin instead (in text settings), this worked fine.
    See attached images, showing how the right spacing is ignored. The left trigger uses margins and the right trigger uses spacing.

    That is due to a bug in Acrobat 9 where multiple carriage returns get replaced by a single one. It's still present as of 9.4.0, but I'm not sure about more recent updates.

  • Position text box  in centre part of region

    Hi
    I want to position of componentes (text box, buttons, combo box) in region at center.
    i.e if i have region having only two text boxes and i want to put it in centre part of form/region.
    How it can be done, do i need to write any code or from APEX it can be done?
    Thanks in advance

    For information, <center> tag is deprecated.
    Use <div align="center">...</div>or CSS (text-align, margin, etc...) instead.
    Yann.

  • How to select two text boxes (linked) separated by a distance?

    dear all,
    how to select two boxes in an indd CS6 document? I tried to label them also but unable to select.
    Virender

    Dear Uwe, Many thanks for your points.
    I have 10 indd files and each file has one page and a table is only item present on page. So few files has table present in one table and few files has two text boxes because table has many rows so spiltted in two linked text boxes.
    I somehow able to select both text boxes but while exporting them only one text box table get exported as png because of improper code.
    #target Indesign
    var sourceFolder = new Folder ("/Users/admin4/Desktop/INS");
    var myFiles = sourceFolder.getFiles();
    //alert (myFiles.length);
    var destFolder = new Folder ("/Users/admin4/Desktop/folder3");
    for (i=0; i < myFiles.length; i++)
         if (myFiles[i].name !=".DS_Store")
         var sourceDoc = app.open(myFiles[i]);
         app.activeDocument.pageItems.everyItem().select();
         //app.activeDocument.stories[0].tables[0].parent.select();
         var destFile = File(destFolder + "/" + myFiles[i].name + ".png");
         app.selection[0].exportFile(ExportFormat.PNG_FORMAT, destFile, false);  
         // here i need to correct code.
         sourceDoc.close(SaveOptions.NO);

  • Read-only radio button or checkboxes save as null

    Hi,
    I have a form with some fields that are editable by 1 group of users and read-only for another group in certain conditions.
    Before the header there is a fetch process to retrieve values from tables. So most fields (read-only & editable) are populated including checkboxes & radio buttons.
    All users can edit at least 1 field on the form.
    When the save button is pressed a PL/SQL process runs to save the data.
    The save works if the field is editable.
    If the field is read-only and text it also works.
    But if the field is a radio button or checkbox a null is saved in the table.
    Any suggestions on how to get the PL/SQL to pick up the read-only radio buttons and checkbox values?

    Hi,
    I had the same problem in my application and I found another solution instead of using two items. I'm using a computation on page processing that makes a select on my table to get the value for the checkbox. I'm doing this with the same condition as my read-only condition on my checkbox item so I can get the database value when it is lose in the submit process.
    Also, I found a difference in the html code between the read-only state of the item and the standard state.
    Original state : name="p_v07" (7 because it's the seventh item on my page)
    Read-only state : name="checkbox"
    I tried to modify this using firebug in execution of the page but without success, the problem is still there.
    Patrick
    Insum Solutions

  • Textarea formatting for read-only display

    Hello,
    I currently have a textarea field that is on a data entry screen, which can be displayed as editable or read-only, based on certain criteria. I noticed that when text with line breaks is entered into the textarea, it keeps these line breaks as expected when viewing the record again in edit mode. However, when the record is read-only, and the textarea is showing as read-only text, the formatting has been an issue -- all of the text is run together as if it were one continuous line. In the Label area of properties for the textarea, I added in <PRE> in the Pre Element Text value, and </PRE> for the Post Element Text, to retain formatting of the text. The good news is that now the text formats properly in edit or read-only mode; however, if a long amount of text was entered before a line break, when viewing the textarea as read-only, the text goes on and on far past the right edge of the screen so a lot of scrolling must be done to read the text.
    Is there some property or workaround I can use to restrict the width of the text showing when read-only, so the text will wrap but also maintain line breaks? I don't want to change any properties that will cause the edit view of of this textarea to function any differently. In a nutshell, I'd like to be able to have the text wrap, but still show the line breaks.
    Thanks in advance,
    Brian

    Yes, I had the same issue.
    Read only with textarea .
    It is not fixed in 3.0 version I don't know if it is in 3.0.1.
    My workaround was to use javascript to change the property of the textarea to readonly on page load event upon certain condition, something like :
    if ('&P8_EMP_TYPE.' != 'EMP' || '&P8_DATE.' != ''){
    document.getElementById('P8_EMP_COMMENTS').readOnly = true}
    You should be able to do something similar with most conditions, if you find a better workaround pls let me know.
    George

Maybe you are looking for

  • Grant number in customer line item report

    Is it possible to bring in the grant number in the customer line item report, fbl5n? I tried expanding the fields in the report, but grant does not seem to be one of them. Please help!!! Thanks, MJ

  • An eligible Keynote application was not found in the location /Applications

    I am running Keynote 4.0. The Keynote icon is located in the /Applications folder, between iTunes and Mail. OS is 10.4.11. VersionTracker says that I should upgrade to Keynote 4.01. However, when I download the 32.8 MB Keynote_401.pkg from Apple and

  • What monitors are people using w/ there Rage 128 Cards (AGP) ADC/VGA

    Need to get a new monitor and wondering if anyone is running a new LDC w/ this card?

  • Problem in Matrix with double Grouping

    Hi, Iam new to Oracle Reports 9i. I am trying to create a matrix report with double grouping. when i tried to do that. the report window showing an error and its trying to close. When i go for single grouping it works fine, but when i do for double g

  • Lightroom problem with CR2 images

    I have LR loaded on my MacBook Pro and everything was alright in terms of LR operation. I use a 5D MKII camera and always shoot in RAW (CR2). I always download images from the Card to the HDD and then import it to LR. However, CR2 Raw files are not g