Tab formatted Text area

I am trying to create a form that has a 'custom notes' area
in a textarea.
The problem is the users have to copy and paste from MS Word
and the data is usually table or tab formatted. Is there any way to
provide this functionality in a form using coldfusion MX7?
I would just give them controlled form data, but this data is
usually customized and therefore needs to be tweaked and stored in
a sql server db. Is there anyway to control formatting (without
resorting to something too tech for them like html)?

You'll probably need to use some JavaScript for this.

Similar Messages

  • Formatted Text Area

    I'm interested in making a java application formatted text area, much like the one I'm typing this message into right now. Users would be able to paste bold and italicized text from Microsoft Word and then I could write code that would turn it into HTML. It'd also be okay if I didn't have the feature that allows you to paste from Word, but that would be nice.
    Also, I'm using GBFrame (part of BreezyGUI) because I'm kind of a beginner, so it'd be really nice it I could integrate it into that. It's okay if I can't, though.
    If I can't find a way to do that, I'll try to look a web application that does that and just direct users to a website I set up for that purpose. It doesn't have to be very formal. Does anyone happen to know where I could find that sort of thing?

    [http://java.sun.com/docs/books/tutorial/uiswing/components/text.html]

  • Tab in Text Area

    Hi,
    When I hit the TAB on a text area, the focus goes to the next tab space.
    How do I make the focus to move to the next component when I hit TAB on a text area.
    Please advice.

    Well, I never tried. But doesn't sound to be a big thing. A keyListener to your TextArea snatches any TAB and then transfers focus with myNextComponent.requestFocus().

  • My Firefox menus and tabs and text are all warped and slightly out of focus for lack of a better term. What kind of issue is this. I only have the default theme/persona Strata installed. It's quite annoying.

    My tabs and text seem slightly corrupted. There's an apparent curviture to the corners and the tops bow. The text is affected but the font's don't appear to have been edited to different fonts. It looks like some photoshop corruption effect to be honest, but this just happens to firefox everytime I use it now. It comes up normal for a second then 'fades' into this corrupt looking version.

    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    * Don't make any changes on the Safe mode start window.
    * https://support.mozilla.com/kb/Safe+Mode
    In Firefox 4 [http://kb.mozillazine.org/Safe_mode Safe mode] disables extensions and disables hardware acceleration.<br />
    If disabling hardware acceleration works then check if there is an update available for your graphics display driver.
    * Tools > Options > Advanced > General > Browsing: "Use hardware acceleration when available"
    In Firefox 4 you can use one of these to start in <u>[[Safe mode]]</u>:
    * Help > Restart with Add-ons Disabled
    * Hold down the Shift key while double clicking the Firefox desktop shortcut (Windows)

  • Carriage Returns, Line Feeds, and Tabs in Text Area

    I am having users copy and paste data from an Excel spreadsheet into a textarea on a BSP page.  When they submit this, since there are tabs and line feeds in the data, the BSP does not recognize the data.  The value in the field comes through as blank. When I manually type something into this field, with out any carriage returns, tabs, etc., the value does not come through as blank?  Does anybody know how to get around this?

    HI
    Iam uploading the data from application server(AL11) to other server.
    In the GLPCA-SGTXT(Table) iam having some text like 'This is good ##'.i was downloded some other data with this text('This is good ##') by using report program in to aplicationserver(AL11) and from there iam uploading that data into other server.
    But here the problem is in the UNIX, it was showing some problem.
    That is actually it need to show the format like:
    001 256 786 This is good## 459786
    But here it was showing like:
    001 256 786 This is good^M
    459786
    So here '459786' is coming to next line. But i need this '459786' also in the same line.
    I am not sure if it is possible to remove CR and LF's using the code the program is written in, but that is what we need to do.   In Unix  ^M is the CR (Carriage return), but I am not sure what LF is?

  • Can I show correctly formatted text areas when they are read only.

    Hi all,
    I have an application that allows users to enter large blocks of descriptive text in a TextArea field. This is a simple TextArea field with no spell check etc and is not an HTML editor.
    As part of this entry I use the normal 'return' key to enter line breaks / new paragraphs as you would expect.
    This works fine and the data is stored correctly. When I extract this text, via XML, into a BI Publisher PDF document, the text is correctly formatted with line breaks where they are expected.
    However, when I try and display this information on the screen, in read only mode, the line breaks are lost and all I see is a continuos block of text with no line breaks.
    I am displaying this as a TextArea in a read only form (basically the page is a copy of the entry/maintenance page with all the fields set to ReadOnly = Always) and I cannot get it to display correctly. As soon as I make the field ReadOnly = Never the text dispaly OK, but then the user can go and change it.
    How can I get this field to display correctly?
    Many thanks,
    Martin

    Hi Dimitri,
    Thanks for your reply.
    I tried changing the field source to:
    select replace(replace(MANUAL_STEP_TEXT,CHR(10),'
    '),CHR(13),'
    from tpa_rel_patches
    where patch_id = :P40_PATCH_ID
    and now I get:
    1.Take a backup of existing jdbc driver files In all the Tiers (Admin, External & Middle Tiers)
    cd $JAVA_TOP
    cp jdbc111.zip jdbc111.zip_4899697
    cp jdbc12.zip jdbc12.zip_4899697
    cp jdbc14.zip jdbc14.zip_4899697
    2.Apply the Oracle JDBC Drivers Patch using ADPATCH
    u4899697.drv
    Any ideas?
    Martin

  • Tabs and formatting text

    Hi, a couple of things. I know this is just a Beta version but:
    When I paste text into the controls it ignores all tabbing.
    When I try to align justify both left and right sides of the text it doesn't work.
    I can't import text where some of the text is bold, italic, or
    underlined. 
    I can't import text where some of the text is in different fonts.
    I am trying to make an interactive book. So I need to be able to have properly formatted text.
    Perhaps there should be an option for the controls to contain Rich Text Format or HTML text. 
    I would say the main things would be the tabbing, if I was pasting several paragraphs of text into a text Label or text Gallery. Second would be able to have bold or italic text inside a paragraph. I
    think that would be really nice! I would think that a Sienna should have
    more functionality than a webpage not less!
     I suppose there are ways round it such as doing a copy and paste of my text and changing tabs into several spaces but I shouldn't really need to do that. 
    \^_^/

    Thanks. At the moment I've decided to just use Visual Studio Express to make my eBook using a WebView control to display my chapters.
    I think for me I still like the ability of Visual Studio to do advanced scripting.
    But I think Sienna is good for prototyping and it did inspire me to make an eBook in the first place.
    You could put a WebView component and it could display webpages with Flash content then people could make their apps in Flash! haha. It's all gone circular. :s
    \^_^/

  • Format Text tab is missing from Edit on Top Level Site home page

    Hello,
    Hoping for some help - not sure where to go with this.
    I've been working on a SharePoint site for my company.
    I need to change the top level site main page text layout to 3 columns.
    I am pretty sure I was able to do this a few days ago but now when I edit the page the Format Text tab is not there.
    I can get it on all my sub sites, just not the top level site.
    I must have screwed this up somehow but I haven't a clue as to how to get it back.
    Thanks
    Steve

    Hi Steve,
    It sounds as though the site template for your root web is a team site or general collaboration site that is using content pages stored in the sitepages library. Is that correct? If you are using publishing features than you could set a custom layout in
    the "pages" tab, but it sounds as though you do not have this feature.
    A workaround could be to create a new page with 3 columns, copy your homepage content to this new page and finally set the new page as your homepage.
    Eric Overfield - PixelMill -
    ericoverfield.com -
    @EricOverfield

  • HTMLDB_TOOLS by Vikas  (Post Tab Delimated Data using Text Area)

    Hi
    We want to upload tab delimated data using text area (user will paste data in text atrea instead of uploading csv file)
    The data format will be
    .-----Col_1-----Col_2-----Col_3
    1-----10.78-----12.58-----11.92
    2-----11.66-----12.77-----12.49
    3-----10.83-----13.05-----12.92
    4-----11.54-----13.27-----13.72
    5-----11.45-----12.83-----12.89
    6-----11.81-----11.29-----12.33
    7-----12.60-----12.31-----12.72
    8-----11.78-----12.44-----12.55
    9-----11.97-----11.95-----12.49
    10-----11.50-----12.28-----12.15
    Where
    ----- indicates tabs
    1. Col_1 ,Col_2,..... are column headings
    2. Col_1 heading will be always blank as indicated
    3. Default Data Type for all columns will be varchar2(10)
    4. Number of Columns may vary upto *150*
    Regards
    Edited by: jazib on Jan 21, 2009 8:15 PM

    thanx for the re Dalerich1, but no, unfortunately i have a
    banking CRM-app which i have to simulate, and within that
    simulation swf there has to be that functionality.
    plus, since the app is still in development, it may change
    within the next couple of weeks, so i'd have to be able to record
    the functionality again with captivate (customer requirement) &
    then efficiently & quickly make it work like in the real thing.
    otherwise (if thmy customer wouldn't insist in using
    captivate) i might have dropped captivate in favor of flash a long
    time ago...
    any other directions anybody? i can't believe this simple
    task is costing me so much time and effort.
    thanx
    caveman

  • Tab and next line characters in text area

    Hi,
    I have an issue with the textarea. The page is inserting /t and /n in the text I type in and everytime I save.
    I defined a text area like following in my jsp:
                   <textarea class="textarea_value" name="explanation" rows="5" cols="100">
                   <bean:write name="tiptrackerEditForm" property="explanation"/>
                   </textarea>
    css:
         .textarea_value {
              font-weight: normal;
              font-size: 12px;
         text-align: left;
         wrap: soft;
    When I type in a word in textarea, it saves without any /t or /n. But when retreive the data and load it into the form again, the page shows with an inserted tab (the word is moved to the right after inserting a tab). Everytime I save, it inserts a tab and /n characters. I know for the fact that the database or the form is doing this. It's in the jsp.

    Put the whole <textarea> element in a single HTML line without newlines and spaces.
    Thus, so:<textarea class="textarea_value" name="explanation" rows="5" cols="100"><bean:write name="tiptrackerEditForm" property="explanation"/></textarea>

  • Forgot how to format HTML  in Text Area

    Hello all,
    I totally forgot something. How do you format HTML when rendering in Text area
    Suppose I pass in a string that a text area grabs for display.
    xxx.getAdditionalComments(existingComments + "\n"  +  "<B>" + date + "<\B> " + name);The text are will always display the <B> instead of displaying the date in bold.
    I remember putting escape characters eons ago but I forgot how that worked. Anyone know how to render this with date being bolded?
    Thanks.

    If you mean the textarea HTML tag for text entry fields, you don't. If you forgot anything it's that you can't do things like that.

  • More than one text area on a slide master... how?

    Is it possible to define more than one text area on a master slide? If so how?
    I want to have a layout with two columns of text - a fairly common layout in presentation packs - but can't persuade Keynote to accept this as a layout for a template. I realise that there can only be one 'body' area, but any attempt to produce a 'fake' second body area fails - whether I put in a text box or a shape with text in.
    If I put it in as a text box, I can't put a limit on how big the box is.
    If I put it in as a shape with text in, when I try to enable the shape as a text placeholder, it forces the whole text in box to have same format as 'top level' outline.
    Any ideas?

    If you want two columns of text, why not set up the Body textbox with two columns? Select the Body textbox on the slide master, then in the Text Inspector, in the Columns tab, set however many columns you want.

  • Ideas for huge text area

    Our Document Control person catalogs documents in a form I've created. We are a spice manufacturer (ahhhh, but alas, I can't smell them anymore while here! )  In one text area on the form she lists associated items, for example PL-1234 is a pallet layout for all of our jars, so that text area for document PL-1234 might have eighty item numbers, each five or six chars listed in the field. In addition, there are verification sheets, assembly instructions, work instructions, all catalogued, and all with that associated items field holding many many many item numbers.  Production workers on the floor then will enter the item number that they are making for the day and a list of all the documents they need for producing the item will display in an interactive report, where they will then call up those they need (touch screens to boot!!).
    I've never liked this solution but she wanted to be able to copy and paste into the list from another source [WARNING WARNING DATA CONSISTENCY NIGHTMARE!! - spaces, dashes, commas, yeah yeah, I know].  Recently, when we did a version upgrade, I realized I had truncated the field when I exported to Excel and the text area got chopped (thankfully less than ten and easily fixable), not at exactly 1024 chars, but something in that random neighborhood.  Before you fall off your chair laughing or roll your eyes at my naiveté-learn-as-I-go education, I'm looking for another way to handle this clump of data.
    I have collections on the form, which was how I wanted to handle this a few years ago when I created it, then she'd have to enter those items manually, and the potential of inaccuracies is huge.  So I'm thinking I should just continue to let her enter those items in the same manner, then reformat it and plunk it into a table that joins to the document table.
    I apologize for not having the jargon.  I hope this makes sense.  Thanks in advance for any suggestions you see fit.
    Alexandra
    Application Express 4.2.2.00.11
    Edit 1
    Not only the above, but in the interactive report, as far as I've always known, that associated items field must be visible on the interactive report with allllllllllllll those items listed for it to be searched by the production floor. Please advise.
    Edit 2
    Just an example of the bald spots on my head: 430922 42181 &lt;- 42182 &lt;- 42183 &lt;- 42184 &lt;- 42186 &lt;- 42188 &lt;- 42190 &lt;- 42192 &lt;- 42194 &lt;-

    4000 characters is the limit you should be seeing, not 1024 (unless that is the size of the column in your table)
    There is a DB Parameter for 12c that should jump that up to 32k
    If it really is a 4000 character limit, there is a plugin that can help out: - Dynamic Action Plugin - Enkitec CLOB Load
    I can't advise you on the 1st edit.  not enough info (a 'sample' on apex.oracle.com would be nice)
    For processing, you'll need to read a lot of fantastically written manuals:
    use (??does apex have something)/UTL_URL  to change HTML code like "&lt;" into "<"
    you may need to use DBMS_LOB and LOOP over the CLOB in 4000 byte chunks.
    use REGEXP_REPLACE to add hair back to your head (ie convert commas and spaces to single tab, remove nonsense characters, etc.)
    use APEX_UTIL.string_to_table() to convert the entries in a table-like format.
    make sure that the above is reusable as you'll want to use it once for Validation and once for Processing
    use FORALL to professionally bulk-insert the results into a child table
    use LISTAGG in your SELECT statements to convert the Relational version of the data back into something that looks like what was entered.
    use CREATE PACKAGE so you don't go insane in the future.  This is a lot of code to write.
    use SQL Developer to actually develop the PL/SQL code
    use a code repository like SVN so you can 'rollback' your new-and-imporved-but-buggy versions.
    and, most importantly, use sufficient comments and APEX_DEBUG.MESSAGE() in your code so that future developers can pickup where you stopped.

  • Problem formatting text

    I have this problem in formatting (I think the correct word is formatting) the text in a table of contents I'm making. What I want to do is the following:
    True out the document I have got these headers that look like this:
    1.2.3. Dit - Is - Text
    Say this subject is covered on page 50 of my document, then the entry in the table of contents should be:
    1.2.3. Dit - Is - Text..................50
    So far so good. But then my problem: underneath this entry is an other one, lets say:
    1.2.3.4. Dit - Is - Text - Ook .....51
    When you see these two below each other, you can see that the text (the D's in "Dit") doesn't line up:
    1.2.3. Dit - Is - Text..................50
    1.2.3.4. Dit - Is - Text - Ook .....51
    What I want to do is more or less the following;
    1.2.3.    Dit - Is - Text..............50
    1.2.3.4. Dit - Is - Text - Ook .....51
    (The D's in "Dit" should line up exactly.)
    I don't want to do this manually because the table of contents might still change so it will be nice if I can do this automatically.
    Does anyone have a clue how I could do this. I took a look at nesting styles, but I don't think the solution is in there (but i might very well be wrong). Some one mentioned grep but I haven't got a clue how to use grep... (and it didn't really seem suitable for my problem.)
    I can imagine it's quite easy, but i'm kind of a novice when it comes to InDesign and computers as a whole.
    I'm using Adobe InDesign CS3 (English version) on a Windows 7 computer.

    I think Peter is going in the right direction (I did just type in the numbers and didn't generate them in a numbered list of some sort). When I type "((\d\.)+)" in the GREP "Find what:" field it finds the "1.2.3." / "1.2.3.4." and so on parts of the paragraph names in my Table of Contents. All i need to do is add a tab after this part of the paragraph name. I think you did explain how to, but i didn't really get it. When I enter "$1\t" in the "Change to:" field the result is something like this:
    (before i do the grep search / change to)
    1.5.1.3. Beheer - Productbeheer - Producten - Prijzen bewerken...63
    (after I do the grep search / change to)
    1.5.1.3. ...........................................................Beheer - Productbeheer - Producten - Prijzen bewerken...63
    Thats in the right direction, but i don't need all the dots, I just need a tab!
    Peter are you Dutch (your name sounds kinda Dutch) because then maybe you could explain to me in Dutch (which would make things a bit easier for me).

  • File need to be read in different formats( Tab formatted, commas separated)

    Hi All,
    I am reading an input text file which can be in any of the format like tab formatted, commas separated or fixed format. How can i write a code to make it work for all these file format other than writing separately for the above three cases. Kindly suggest.
    Thanks,
    Neslin.

    As far as seperators are concerned you may read entire file to stirng table, then identify separator (i.e. if you find  tab mark, you assume it is tab separated; if you find ";" mark you assume this is a column separator). Use SEARCH or FIND statement and then (after having the separator) loop at string table and split each entry at this separator. If none of the above was find (no separator or fixed one) split according to given fixed format.

Maybe you are looking for