Place border at bottom of text field

Hi:
How can I format or style a single (once off) text field in order to place a border at top and bottom of the field?
Thanks
Bruce

Ok..
edit the item.
go to element tab.
HTML Table Cell Attributes:
style=*border:solid;border-width:1px 0 1px 0;border-color:red"Astrisk(*) is actually double qutoes (").
Regards,
Shijesh

Similar Messages

  • Quick qn on displaying text fields from region.

    My doubt is that i have a page where
    there are 2 Regions..top and bottom Regions
    we can enter a person's details on the bottom region and hit submit..then that person get stored in the database and visible on the top region
    i have a situation where i need to grab these people from the top region and display in side email message
    my text field in the bottom region is not constant..so i am not able to capture them..
    Its like this:
    TOP REGION:
    tommy lee Male address 1
    kanan jones Male address 1
    babu lee Male address 1
    Note: Sometimes there may be only one person..sometimes more than 1 like 2 or 3
    Bottom Region:
    text fields to enter (we can enter for only one at a time)
    ..I am able to grab it from the table in the DBase..But how can i get it to the email message..
    Appreciate your help
    thanks
    kp

    You can select the entire field and use the cold fusion left
    function. However, it would be more efficient to simply select
    select the 1st 20 characters in your query. How you do this depends
    on the db you are using.

  • How to display a record count in a text field?

    I am trying to return a record count of a query and place that count in a text field on my search page in APEX. I have that text field defined under Items on the search page. How do I get a query record count to display in my text field?
    Thanks,
    John
    Edited by: user7381760 on Jan 22, 2009 3:47 PM

    Hi Dan,
    Thank you for your reply and yes I was able to select "Source Type" and "SQL Query". The SQL expression I used was:
    SELECT COUNT(ID) FROM master_table;
    This worked great to count the total number of records from the master_table. However what I am trying to do is to get a record count each time I complete a search from my search page. I have input fields on this page and a GO button which executes the query. The SQL query is location in one place under Regions/Display Point. My display field on my search page is named P16_COUNT2 and I was trying to make this work inside the main query code. I tryed something like this, COUNT(ID) INTO :P16_COUNT2, to pass the record count each time I execute the GO botton to P16_COUNT2 field. This I could not get to work. Any ideas how to proceed?
    Regards,
    John

  • Eliminate printing Border for Text Field???

    Is it possible to display border on the PDF and not print on the output for Text Field??? What settings and/or scripting I need to get this working? A sample form is really appreciated.

    If you use the standard border (for example), you can use the JavaScript prePrint and postPrint for each field to make the border visible, and hidden. Here's how.
    1.) Highlight Text Field in Designer.
    2.) In the Script Editor, select the prePrint Event from the dropdown list on the top left. (This works in FormCalc or Javascript, although I tend to use JavaScript as the language in the right hand drop down)
    3.) Type in (or paste) the following code:
    this.border.presence = "hidden";
    4.) Select the postPrint Event.
    5.) Type in (or paste) the following code:
    this.border.presence = "visible";
    Now when you click print, it will make the outside border hidden, and when you cancel, the border will reappear. Now this will not make the 'Solid Box', or 'Sunken Box' of the text field hidden. The easy way to fix this, is set the 'Appearance' in the Object->Field palette to 'None'.
    Cheers!
    Jay

  • CreateTextField and _height: Problem with Placement of Text Fields

    I'm using createTextField to create several text fields
    dynamically. I'm also using an external XML file and a style sheet
    to populate the text fields.
    My problem is that I'm trying to position the various text
    fields on the page so that they are spaced evenly on the page
    (regardless of how much content they might contain). I'm trying to
    use _height of the prior text fields to place subsequent text
    fields, but I'm getting very inconsistent results. When I trace the
    value of _height, I get differing results, even if I don't actually
    change any of the parameters. So, the question is...is there a way
    for Flash to get the height of a dynamically created text field
    that's populated via an exteral XML file and using CSS? I know
    that's asking a lot, but I'm trying to avoid using scroll bars if
    at all possible.
    Thanks for any pointers.
    Bill

    i assume you're using multiline textifields with a fixed
    width and autoSize="left".
    flash will report the correct _height of your textfields IF
    you access the _height property after your htmlText has been
    assigned to your textfield. ie, you're probably seeing inconsistant
    results because you're not waiting until all data needed to
    populate your textfield has loaded.

  • Is it possible to NOT have the white text field on the bottom of the mini b

    Is it possible to NOT have the white text field on the bottom of the mini book? I'm trying what I can, and have searched the web including the third-party sites and can't find anything. Would rather design my own thing for it and have the image bleed to the bottom.

    Richard,
    You are a gentleman, AND a scholar! Thanks! Just really want to do something different, though I was almost ready to shoot something against white just to make it work. Much appreciated.

  • How to place two text fields on the same line in adobe

    I am trying to create a form on adobe and I would like to have two unique text fields on the same line. Is this posible? 

    If you are using FormsCentral it is, the fields can be placed "side by side" in a row.  There is a "+" sign on the right side of the field that brings up a toolbar to add a field adjacent.  You can also right click on a field and select "Insert beside", or you can "drag and drop" fields next to one another or to a new row.
    Thanks,
    Josh
    PS - One note, if you are using the "desktop" application of FormsCentral that comes with Acroat Pro XI make sure the application is up to date by either using the "Help" - "Check for updates" menu item or by signing into the application so that you have the latest features including the side by side layout.

  • How can I place a text field not directly on the left of the page but with an indent to the right?

    Hi everybody,
    I try to create a form in which I want to enter several item under each other
    general info        Item 1               Item 2
                             Name 1            Name 2
                            Item 3               Item 4
    and so on.
    Since it is not possible to insert a table for something like that I would like to enter seperate text fields one underneath the other.
    But every new line starts on the left side and I do not see any way to move a text field to the right with an indent so that "item 1", "Name 1" and "item 3" are aligned the same.
    Can anybody give me a hint?
    Thanks a lot and have a good 2015!
    Oliver

    Hi,
    Insert a blank "Formatted Text" field on the far left, and shrink it down as much as you wish. Then insert your normal text field to the right of that.
    I hope that helps,
    Brian

  • How to add comma and dollar sign that places automatically in input text field

    I have this ROI calculator which has several text input field
    on frame one with calculate and reset buttons. When a user enters
    numerical values in the text field, and jumping to the next field,
    I want the input text filed be updated with dollar sign and with
    comma.
    Next when they hit "ENTER" key or click "Calculate ROI"
    button, all the input text fields on frame 2 as a result of
    calculations be updated with dollar sign and comma. I also need
    that once the comma sign is assigned then it would not add any more
    even if user presses the button. Can someone help me in
    this?

    If you want to Set the Comma when you Switch to next Text
    Field
    Use onKillFocus / onSetFocus Functions.
    to restrict multiple comma, Before Adding comma use
    myText.text =
    myText.text.split(",").join("").split("$").join("");
    So this will give you the value without Comma and Dollar
    symbol, Now add the Comma and dollar.
    or you need to use a Flag for onChange Event.

  • Set the default border color for text fields?

    My InfoPath 2010 text field borders are defaulting to white for some reason (which basically means invisible on a white form).  Do y'all know if there's a way to set this somewhere?  Drop-downs (for example) are still showing up as the light-grey.
     Maybe I accidentally tweaked it but now I can't see where.

    Hi
    if you want the change color of all the field in new form,edit form and view form then share point designer can help you in that case.
    Or you can user page layout in info-path form
    https://support.office.com/en-in/article/Introduction-to-designing-a-form-in-InfoPath-2010-d78eef0a-e44b-4919-8032-b4a021dc30ea
    Please mark the Answer and Vote me if you think it will help you

  • Cursor placement in a Text Field

    Greetings,
    Here is the setup:
    Text field with a default value set to : XXX
    User tabs into the field.
    Problem:
    When you tab into the field the entire default value is highlighted
    Seeking the following solution:
    How do you tab into a field and get the cursor to go to the end of the default value and await entry by the end user.
    Rick Kuhlmann
    Tech-Pro, Inc.

    Hello
    My problem is that I want to delete or backspace a particular character in a particular position in a string .
    A character in the end of the string can be deleted or backspaced.
    I will be grateful to u iIf u can help me out
    Thanks & regards

  • Creating an expandable text field without a scrollbar

    Hi All! Hope someone can help.
    I need to create a flowable subform that will allow text fields to expand without a scrollbar. I have been researching the forums and have found this thread:
    http://forums.adobe.com/message/2372965
    When modifying the template above for practice, The fields expand correctly but when i make one from scratch it doesnt work at all!
    Here are the steps I have followed in creating a expandable text field from scratch:
    1. Open Adobe Lifecycle Designer and open a plain blank form
    2. Take a "text field" from the object library and place it on the form
    3. I noticed there is already a blue border (subform) for this document by default for the new form so I changed the content from "position" to "flowed", flow direction from "top to bottom"  and checked "allow page breaks". Also changed the layout for y: autofit
    4.  I then right clicked on the text fields orange border and clicked "wrap in subform".  I changed the content from "position" to "flowed", flow direction from "top to bottom"  and checked "allow page breaks". Also changed the layout for y: autofit
    5. Finally for the text field itself I made sure that "allow multiple linkes" and "allow page breaks within content" was checked. Also changed the layout for y: expand to fit
    I still cant get it work am I missing something? Ive been twirking around with this for hours and this forum wont let me upload my example. Any help would be great!

    Hi,
    You need to save the form as dynamic pdf form i.e xdp and on exit of the text field only text field will be expanded.
    But make sure the main form should be flowed and page breaks should be allowed.Textfield should have the allow multiple lines option ,allow page breaks,and auto expand height(Y axis) should be checked.
    Regards,
    ManjuVardhan

  • Expanding text fields not co-operating

    I created a new form that spans over 2 pages and saved it as a dynamic PDF. I'm trying to allow for the text fields to expand as the user types beyond the intial size of the field. The field is set to "Expand to Fit". I have several sections of the form all separated by text headings. I have tried to wrap each section in a subform (set to "Flowed"), then wrap all the subforms to a larger subform (set to "Flowed").
    The problems that I'm encountering is each section that is wrapped in a subform looses the placement and whitespace between fields of all the fields and brings them in tight to each other. Then when i wrap all the subforms into one larger subform (set to "flowed"), my text headings and other text get rearranged and I can't change the order of reposition them with the white space.
    Below is a picture of my form in the nice tidy format that I'd like to keep. Then a picture of how it looks with each section in a subform and all of those subforms in a larger subform.
    Any help would be greatly appreciated!
    Before
    After

    Hi,
    Moving to Flowed layouts can be a pain. When you change to Flowed type, all of the objects are positioned from top left, based on the order in the hierarchy.
    You will need to adjust the objects margins in order to space them out.
    First I would adjust the content area on the Master Page, so that you have your margins in the right distance from the left (and top, bottom and right).
    See some examples here:
    Objects in flowed forms: http://assure.ly/e2jR0C
    Explore difference between flowed and positioned subforms: http://assure.ly/eSGQMt
    Some aspects for laying out objects: http://assure.ly/ewrLMo.
    Master pages and content areas: http://assure.ly/g0Wx7r.
    Another thing, when working with textfields (and other objects) you can set the caption to appear above the value area (go to the Layout palette). This means that you will only be dealing with one object instead of two (currently you have a text object and a textfield).
    If things are still out of order, then drag them into the correct order in the hierarchy and they will be in the right order on the page.
    Hope that helps,
    Niall

  • Expanding text fields side-by-side in a 2 column layout

    Hi,
    I've been trying to create a form that is a 2-column layout. This form contains expanding text fields that are side-by-side with additional form elements underneath. I managed to get the expandable fields to work, however, if the user writes too much in the text field in the left-hand column and it wraps onto a second page, the text field in the right-hand gets pushed to the second page. I am wondering if someone has experience with this and could help me figure out how to make sure the text field in the right-hand column stays in place as the text field in the left-hand column expands onto 2 pages.
    I've tried to wrap each text-field in their own subform that stays fixed, but that seemed to cause the field to expand over the elements below it.
    Take care,
    Carolyn

    Luke23ae wrote:
    for my bachelor-thesis I'm trying to create a 2 column layout in pages. The left column should contain all contents, the right column should only contain notes and additional information supporting the 'main' column. So the right column only contains a little text every now and then. Using the Layout Inspector and setting up 2 columns fills the right column automatically withe the contents overflowing the left column. What I'm hoping to archive is to create a 2 column layout leaving the right column blank, allowing me to insert Text-fields (unless there's a better way) wherever I need to add an annotation.
    Hi Lukas,
    Welcome to Apple Discussions and the Pages '09 forum.
    Since you want the text to flow from page to page in the left column, it would appear best to use a single column for the main text, and to limit the width of that column using the right margin stop.
    That leaves the right half of the page open for a series of text boxes (or shapes, as shown) to contain the notes and additional information.
    I would start with a single text box or shape, resize it to the width you want, then duplicate that one each time you need a new box. That way all your text blocks have a common width to begin with, and if you take care to use only the handle at the center of the bottom edge to resize them, you will not disturb that width setting.
    As noted earlier, the floating objects will not automatically travel with the text they apply to if editing causes that text to move.
    Regards,
    Barry

  • How can I get the "text" field from the actionEvent.getSource() ?

    I have some sample code:
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import java.util.ArrayList;
    public class JFrameTester{
         public static void main( String[] args ) {
              JFrame f = new JFrame("JFrame");
              f.setSize( 500, 500 );
              ArrayList < JButton > buttonsArr = new ArrayList < JButton > ();
              buttonsArr.add( new JButton( "first" ) );
              buttonsArr.add( new JButton( "second" ) );
              buttonsArr.add( new JButton( "third" ) );
              MyListener myListener = new MyListener();
              ( (JButton) buttonsArr.get( 0 ) ).addActionListener( myListener );
              ( (JButton) buttonsArr.get( 1 ) ).addActionListener( myListener );
              ( (JButton) buttonsArr.get( 2 ) ).addActionListener( myListener );
              JPanel panel = new JPanel();
              panel.add( buttonsArr.get( 0 ) );
              panel.add( buttonsArr.get( 1 ) );
              panel.add( buttonsArr.get( 2 ) );
              f.getContentPane().add( BorderLayout.CENTER, panel );
              f.setDefaultCloseOperation( JFrame.EXIT_ON_CLOSE );
              f.setVisible( true );
         public static class MyListener  implements ActionListener{
              public MyListener() {}
              public void actionPerformed( ActionEvent e ) {
                   System.out.println( "hi!! " + e.getSource() );
                   // I need to know a title of the button (which was clicked)...
    }The output of the code is something like this:
    hi! javax.swing.JButton[,140,5,60x25,alignmentX=0.0,alignmentY=0.5,
    border=javax.swing.plaf.BorderUIResource$CompoundBorderUIResource@1ebcda2d,
    flags=296,maximumSize=,minimumSize=,preferredSize=,defaultIcon=,disabledIcon=,
    disabledSelectedIcon=,margin=javax.swing.plaf.InsetsUIResource[top=2,left=14,bottom=2,
    right=14],paintBorder=true,paintFocus=true,pressedIcon=,rolloverEnabled=true,
    rolloverIcon=,rolloverSelectedIcon=,selectedIcon=,text=first,defaultCapable=true]
    I need this: "first" (from this part: "text=first" of the output above).
    Does anyone know how can I get the "text" field from the e.getSource() ?

    System.out.println( "hi!! " + ( (JButton) e.getSource() ).getText() );I think the problem is solved..If your need is to know the text of the button, yes.
    In a real-world application, no.
    In a RW application, a typical need is merely to know the "logical role" of the button (i.e., the button that validates the form, regardless of whether its text is "OK" or "Save", "Go",...). Text tends to vary much more than the structure of the UI over time.
    In this case you can get the source's name (+getName()+), which will be the name that you've set to the button at UI construction time. Or you can compare the source for equality with either button ( +if evt.getSource()==okButton) {...}+ ).
    All in all, I think the best solution is: don't use the same ActionListener for more than one action (+i.e.+ don't add the same ActionListener to all your buttons, which leads to a big if-then-else series in your actionPerformed() ).
    Eventually, if you're listening to a single button's actions, whose text change over time (e.g. "pause"/"resume" in a VCR bar), I still think it's a bad idea to rely on the text of the button - instead, this text corresponds to a logical state (resp. playing/paused), it is more maintainable to base your logic on the state - which is more resilient to the evolutions of the UI (e.g. if you happen to use 2 toggle buttons instead of one single play/pause button).

Maybe you are looking for