Single Line Text Control (H&J) Tip & Question

The attached image is tip for anyone that is looking to constrain InDesign to use the width of a text field (maintaining a single line, good for a variable data field), while allowing characters to smash if they exceed the amount that would normally cause a text frame overflow. Texts in Red; are the settings that are necessary for this functionality. There is a limittation that is outlined in the graphic; that "Glyph Scaling" with no more than a Min of 50% or a Max of 200% (Paragraph Panel > submenu > Justification) is available, which limits its' full potential.
While looking over this, if you have any thoughts on how to build on these settings to allow even more control, please do reply!
Thanks!

I do similar with business card layouts. Handy when the layout has already been decided, without adequate forethought, and the client recruits a Greek guy.
Imagine what we could do if they brought back Multiple Masters.

Similar Messages

  • How to validate for non-english character on a single line text field

    In a "Single Line Text" field we would like to allow the users to enter alpha numeric values only. We should show error when the user enter non-English values like
    carácter
    Vijayaragavan, MCTS

    Hi,
    According to your post, my understanding is that you wanted to validate for non-english character on a single line text field.
    I recommend to use jQuery to attach regular expression validation. Please refer to:
    Using #jQuery to attach regular expression validation to a #SharePoint list form field
    In addition, for custom validations you can create your own Types. Refer to
    this[^] for creating custom field type
    More information:
    SharePoint Custom Field - Regex Validator
    Thanks,
    Linda Li                
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Linda Li
    TechNet Community Support

  • How to write single line text file

    Hi, I need to write a single line text file using oracle forms 10g that's usually quite long 8million+ characters, I looked into utl_file but came accross the single line limit, is there any way to do this either to the client pc or to the server
    Thanks

    I tried using put_line but i get a ORA-29285: file write error´I´m guessing this is because of the amount of data to be written on a single line

  • I am filling out an online application for school. Is it possible to set Firefox to check spelling when in a single-line text box without having to right click every time?

    I want to be able to set spell check to occur automatically even for single-line text boxes.

    You can set the pref <b>layout.spellcheckDefault</b> to <i>2</i> on the <b>about:config</b> page to perform the spell check on single line and multi line text fields.
    * http://kb.mozillazine.org/layout.spellcheckDefault
    To open the <i>about:config</i> page, type <b>about:config</b> in the location (address) bar and press the "<i>Enter</i>" key, just like you type the url of a website to open a website.<br />
    If you see a warning then you can confirm that you want to access that page.<br />
    *Use the Filter bar at to top of the about:config page to locate a preference more easily.
    *Preferences that have been modified show as bold(user set).
    *Preferences can be reset to the default or changed via the right-click context menu.

  • Converted single line text to multiple and want to have rich text editing in layout

    We had a text field in a site that was initially set as single line of text. We needed it to be bigger and also allow formatting. So I added the field into the page layout.
    Changing
    <SharePointWebControls:TextField id="habitat" FieldName="Habitat" runat="server"/>
    to
    <SharePointWebControls:NoteField id="habitat" FieldName="Habitat" runat="server"/>
    But it doesn't show any rich text editing options and displays the full html tags in the field.
    If I open the page in the edit properties screen instead, then the field displays as I want it with the rich text editing options available in the ribbon, and text showing as bolded instead of like this:
    <div>This is <strong>the </strong>habitat field.</div>
    This is a site using the 2010 Publishing template running in compatibility mode on a 2013 server.
    How can I get my page layout to behave the same way as the edit properties screen does?

    Hi,
    Here are two solutions for your reference:
    1. We can use the InputFormTextBox control to achieve it.
    <SharePoint:InputFormTextBox ID="habitat" RichText="true" RichTextMode="FullHtml" runat="server" TextMode="MultiLine" Rows="20"></SharePoint:InputFormTextBox>
    http://blog.qumsieh.ca/2009/01/13/how-to-add-a-rich-text-editor-to-your-custom-application-pages-or-web-parts/
    http://blog.mastykarz.nl/rich-text-editor-control-sharepoint-2010/
    2. We can use the RichHtmlField control to achieve it.
    <PublishingWebControls:RichHtmlField id="habitat" FieldName="Habitat" runat="server"/>
    http://msdn.microsoft.com/en-us/library/office/ms561507(v=office.14).aspx
    Best Regards
    Dennis Guo
    TechNet Community Support

  • How to determine the length of a line of text in a multi line text control

    I am working on a simple widget to compare two snippets of text.  The string controls are side by side with a colum of square bools in between
    the two string controls.
    The Bools line up with the lines of text in each string control.  The Bools are used as a quick indicator that at that line point there is a difference
    between the two string controls.
     There is a slider that allows the user to scroll up and down,  the slider scrolls both string controls simutaneously.
    As the string controls are scrolled I will be comparing the left and right lines of text and reflecting the match status in the Bool Colum.
    The reason I need to know the length of the line of text is so each line can be compared against one another.  It is not as simple as counting the
    col width of the string control and parsing the text because if there is a line return the text will word wrap before before it extends all the way accross the string control, which will cause parsing discrepencies.
    Any suggestions on obtaining the multi line string control text character length would be much appreciated.
    Best Regards
    Tim C. 
    1:30 Seconds ARRRGHHH!!!! I want my popcorn NOW! Isn't there anything faster than a microwave!

    Front panel of widget....
    1:30 Seconds ARRRGHHH!!!! I want my popcorn NOW! Isn't there anything faster than a microwave!
    Attachments:
    One.vi ‏27 KB

  • Single line plan, how to switch and question about what rep told me.

    I just got a contract (9/3) and have the "more everything plan" - I called Verizon Cust. Care (9/4) to inquire about the single line plan, I was told by Matthew that the single line plan price is in addition to the 40.00 line surcharge, so it would be $100.00 per month. Is this information accurate, or is it only $60.00 per month (as the website states for the ) plus taxes and fees?

    The single line plan is only $60/month. There is no $40 line surcharge. You must be on the Singe Line Plan, though, not the More Everything Plan.

  • How to break mult-line memo(blob) field to single line text fields

    CRXI MSSQL
    I have a Memo field with variable numbers of lines.  How can I recognize end-of-line & break into seperate text field for each line?

    Hi James, 
    I'd recommend breaking it up in the database instead.  Create one field for each line, set each line to 30 characters and truncate after that.  Now you can have each line as a field in Crystal.  Drop them on and suppress them if they are empty. 
    Not pretty but it will work. 
    Good luck,
    Brian

  • Uiscroller doesn't hide on single line text

    I have a UIScroller attached to a dynamic text field. When
    the text field only has one line of text in it the arrows dissapear
    but the UIScroller still leaves a border shadow. Is there a way to
    have the UIScroller completely disappear when it's not needed?
    Thanks much!

    As Mylenium suggested, you may have a problem with line spacing. For example, you may have leading set to 0. One way to clear problematic settings is to reset the settings in the Character panel.

  • Using jquery to user only allow numbers in single line text field with infopath 2010 form

    Please provide me right solution for the same.
    I have already used below script, but this is not working
    <script type="text/javascript">
        $(document).ready(function () {
      var input = document.getElementById('ctl00_m_g_85322960_0783_4665_a3e7_41708ddd7c1c_FormControl0_V1_I1_T3');
    input.onkeydown = function(e) {
        //var k = e.which;
        /* numeric inputs can come from the keypad or the numeric row at the top */
         if (e.shiftKey || e.ctrlKey || e.altKey) {
    e.preventDefault();
    } else {
    var key = e.keyCode;
    if (!((key == 8) || (key == 46) || (key >= 35 && key <= 40) || (key >= 48 && key <= 57) || (key >= 96 && key <= 105))) {
    e.preventDefault();
    </script>

    Hi,
    As Matt mentioned, it is OK to change field type to number if you want only number can be entered in the textbox. If you want to treat them as string in the backend, you can use CONVERT function to change its data type in the code.
    If you insist on jquery, try to change condition paremeter in IF to:
    key >
    31 &&
    (key <
    47 ||
    key > 57)
    The order number of numbers (0 ~ 9) is from 48 to 57 (in Dec).
    Miles LI TechNet Community Support

  • Converting multiline text string to single line

    How do I convert a multiline text string into a single line text string

    Hi Bart,
    what's a multiline text string?
    1) You have an array of string: simply use "string concatenate" to convert from array to scalar string.
    2) Your string contains CR and/or NL characters: use "Search/Replace..." for this string, replace all EndOfLine chars by space (or which char you may prefer)...
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • Regarding Forms Look & Fell 1.3.8 (Hyperlink in sigle line text item PJC)

    I am using single line text item PJC in my form. I have a tabular block in which one text item implementation calss property is set to "oracle.forms.fd.LAF_XP_TextField".
    Following code is written on when-timer-expire code
    If lower(Get_Application_Property( TIMER_NAME )) = 'laf_timer' Then
    Set_Custom_Property( 'CTRL.BEAN', 1, 'SEARCH_TEXT_ITEMS','') ;
    Set_Custom_Property( 'FIN_ORD.ORD', 1, 'ENABLE_EVENTS', 'fin_ord.ord,true' ) ;
    Set_Custom_Property( 'FIN_ORD.ORD' , 1, 'SET_HYPER_LINK', 'ORD');
    End If;
    When form run & after data execution only first record textbox show the hyperlink but no other textbox shows hyperlink except then first record.
    Please guide.

    Hello,
    Please, ask questions concerning the LAF on the dedicated email : [email protected]
    In you case, it is a generic issue using the Set_Custom_Property() built-in. If you want to set the property on every record, use the ALL_ROWS keyword in place of second argument.
    Regards,
    Francois
    Edited by: Francois Degrelle on Jun 29, 2009 3:02 PM

  • One-line Text

    I use Adobe Acrobat Pro XI.
    If I position several one-line texts with each other, is it automatically becomes a multi-line text. How can I prevent this?

    No, it doesn't work like that. If you place multiple single-line text
    fields one next to another they do not automatically become a single
    multi-line field.

  • Yes/No fields, single line. Long question in seperate text field. How to avoid gap between lines?

    I have made two single-choice fields side by side (Yes and No) on one single line. The question for the choices is long, so I wrote it in a separate text field placed above the Yes and No fields. If I use the Yes field for the question, the No field would end up too far to the right.
    Question ....
    [Single-choice text fields space]
    [  ] Yes
    [  ] No
    Problem now is there's too much space under the question, since the automatic text fields in the Yes and No fields are still there, though "invisible"/not used. How can I have a long question on a single line and have the Yes and No fields on the next line without a big gap between the two lines? Is it possible to delete the automatic text field in the Yes and No fields?
    Just realised that if one makes a single Yes field, and a single No field to the right, you are ("of course") able to mark both the fields, since they are not linked anymore as with two choices in one field. The point with the single choice fields is then lost; to be able to choose only either one. Yes or No.
    [X] Yes   [X] No

    The Single Choice is designed such that you have a single label and multiple choices, but the user can only select a single choice (in your case Yes or No).  If you like the choices to appear side by side you can deselect Stack Choices Vertically in the Field Properties widget.  You should also set the Label to Above.  See the attached image.
    Jeff Canepa
    Software Quality Engineer
    Adobe Systems, Inc.
    [email protected]

  • Measuring of Text with Multiple Fonts in One Single Line

    I am following a request to write C++ code for a label that contains several text elements in one single line, varying by font, size, color.... Ok, that can be done easily in GDI+ by measuring each element's width and then execute a DrawString
    for each of the text elements starting at its calculated position.
    So far, I failed miserably.
    The horizontal text positions did not appear to be correct. I reverted now to very simple text width measuring tests where the results are still puzzling.
    Test 1 (GDI+): Use of MeasureString
    With the same font, the width of the string "MM" does not match the double with of the string "M". This cannot be explained with eventual rounding problems.
    Test 2 (GDI+): Use of MeasureCharacterRanges
    Used the same font as for the first test. The width of "MM" is now exactly double of the width of "M". But: The width of the "M" ist lightyears away from the measurement result in the first test.
    Test 3 (GDI): Use of GetCharABCWidthsFloat
    Attempted to create a GDI font as close as possible to the GDI+ font in the previous tests. Unfortunately, this third test shows results which do not match the previous results at all.
    I am appending the full example here; the results I found during the debug session have been added as comments:
    void ApplWindow_TextDrawTest(HDC hDC)
    Gdiplus::Graphics *G = new Gdiplus::Graphics(hDC);
    G->SetTextRenderingHint(TextRenderingHint::TextRenderingHintClearTypeGridFit);
    Gdiplus::StringFormat MyFormat;
    MyFormat.SetAlignment(Gdiplus::StringAlignment::StringAlignmentNear);
    MyFormat.SetFormatFlags(Gdiplus::StringFormatFlags::StringFormatFlagsNoWrap);
    Gdiplus::Font TextFont(L"Calibri", 36, Gdiplus::FontStyle::FontStyleBold, Gdiplus::Unit::UnitPixel);
    const wchar_t *Text1M = L"M";
    Gdiplus::PointF TextOrigin1M(0, 0);
    Gdiplus::RectF TextBounds1M;
    const wchar_t *Text2M = L"MM";
    Gdiplus::PointF TextOrigin2M(0, 50);
    Gdiplus::RectF TextBounds2M;
    //--- Test #1: using MeasureString ----------
    G->MeasureString(Text1M, (INT)wcslen(Text1M), &TextFont, TextOrigin1M, &MyFormat, &TextBounds1M);
    G->MeasureString(Text2M, (INT)wcslen(Text2M), &TextFont, TextOrigin2M, &MyFormat, &TextBounds2M);
    //--- Results: Text 1 Width= 44.414 ("M")
    //--- Text 2 Width= 76.828 ("MM")
    //--- Test #2: using MeasureCharacterRanges ----------
    Gdiplus::Status RCode;
    Gdiplus::RectF LayoutRect(0, 0, 1000, 100);
    Gdiplus::Region RegionsList[3];
    Gdiplus::CharacterRange CRanges[3];
    CRanges[0].First = 0; CRanges[0].Length = 1;
    CRanges[1].First = 1; CRanges[1].Length = 1;
    CRanges[2].First = 0; CRanges[2].Length = 2;
    MyFormat.SetMeasurableCharacterRanges(3, CRanges);
    G->MeasureCharacterRanges(Text2M, (INT)wcslen(Text2M), &TextFont, LayoutRect, &MyFormat, 3, RegionsList);
    RCode = RegionsList[0].GetBounds(&TextBounds1M, G); // Result: Text 1 Width = 32.000 ("M")
    RCode = RegionsList[1].GetBounds(&TextBounds1M, G); // Result: Text 1 Width = 32.000 ("M"; the second char)
    RCode = RegionsList[2].GetBounds(&TextBounds2M, G); // Result: Text 2 Width = 64.000 ("MM")
    //--- Test #3: using the good old GDI ----------
    int MapModeResult = SetMapMode(hDC, MM_TEXT); // MM_TEXT is equivalent to Unit::UnitPixel?
    HFONT TextFont3 = CreateFont(36, 0, 0, 0, FW_BOLD, false, false, false, ANSI_CHARSET, OUT_TT_ONLY_PRECIS, CLIP_DEFAULT_PRECIS, CLEARTYPE_QUALITY, VARIABLE_PITCH | FF_DONTCARE, L"Calibri");
    HGDIOBJ PrevFont = SelectObject(hDC, TextFont3);
    ABCFLOAT ABCCharData;
    BOOL RFlg = GetCharABCWidthsFloat(hDC, (UINT)'M', (UINT)'M', &ABCCharData); // Results: abcfA = 2.000; abcfB = 22.000; abcfC = 2.000
    //--- End of Test ---
    delete G;
    Does anybody have an idea why I get so different results?
    Thanks in advance.

    This is a development question and should be directed to a forum that assists in coding. The forum you posted to is for Windows 7 related questions.
    Sorry I cannot help you
    Don't forget to mark the post that solved your issue as &quot;Answered.&quot; By marking the Answer you are enabling users with similar issues to find what helped you. Lewis Renwick - IT Professional

Maybe you are looking for

  • Action script help: Quiz that uses an array needs to be changed.

    Hi, I have a quiz that was created by someone else, and now I (inexperienced with flash) need to make some edits. The quiz has 4 questions, and each answer the user clicks on will show a green ball, and then other text appears to let them know if the

  • Urgent: please help with LOV problem

    Hi, I created a record group and LOV (LOV1), also a text item set list of value property to LOV1. When I ran form, it showed the list, but when I selected one from the list, neither double click or click OK put anything into the text item. Could some

  • There is a problem when saving pictures using Live Margins

    When I draged some pictures into firefox Live Margins, and pressed save, it prompt a save file dialbox, and after I selecet the destination directory, Live margins create another directory with name unrecognizable, which is not the directory I select

  • Idoc acknowlegment ALEAUD without defining distribution model

    Hi, I need to made idoc acknolegment. I take in exemple a development environment in which no distribution model is define for message type ALEAUD but it send the idoc of this type. Is there a way to configure idoc acknolegment, which not use distrib

  • Stateful WebLogic Web Services using cookie

    Hi all, How do I configure WebLogic Web Services to return cookie in the HTTP header? In my weblogic.xml I included the following attributes but no cookie is returned in the HTTP header. <session-descriptor> <cookie-http-only>false</cookie-http-only>