3.12 post element text appearing on new line

I have an icon and some javaScript behind it to clear the content of the item, which on moving to 3.12 is moved onto the next line:
http://apex.oracle.com/pls/otn/f?p=41395:10
Is there a simple way of avoiding this please so that it all appears on the same line (as in v2)?
Phil

Hi Phil,
In your page's HTML Header setting, add in:
<style type="text/css">
fieldset {display:inline}
</style>By default "fieldset" items are block elements so will always end with a new line - the above forces it to flow with the text
Andy

Similar Messages

  • Conditional display of post element text.

    Hello,
    I wanted to know if it was possible to display the
    post element text for a text item conditionally.
    Thanks,
    shilpa.

    Hi Shilpa
    I am not aware of any functionality to conditionally display the post element text on its own. However there are 2 ways around this.
    1) If when entering the page you want to decide if you should display the text you could, after each item add a display only item and put a condition on that. Changing the display only items displayed properties to Begin On New Line = NO and Field = NO will give the impression of post element text
    2) If you want to conditionally display the text dependent on what the user has entered into the box you could use some javascript in the post element text field. e.g.
    <span id="me"></span>
    <script language="javascript">
    function test1(){
    if (1 + 1 == 2){
    document.getElementById("me").innerHTML = "sometext";
    </script>
    then in the html form element attributes field you can call this function like this:
    onblur="test1()"
    Hope that helps
    Adam

  • Post Element Text

    Hi,
    I'd like to use JavaScript to add some post element text to some form items that is based on the content of the form item.
    I know that I could just add some extra items on my page and condition them but I'm keen to avoid this as I don't want to clutter the page with too many items. I'd rather just have post element text that I can condition in some way.
    Any ideas how I'd do this?
    Cheers
    Yog

    Hello,
    Just add something like this. To your post element attribute
    <span id="after_#CURRENT_ITEM_NAME#"></span>
    and lets say your item name is
    HELLO
    you javascript should look like this
    $x('after_HELLO').innerHTML = 'After Hello';
    or
    html_GetElement('after_HELLO').innerHTML = 'After Hello';
    Carl
    Message was edited by:
    Carl Backstrom

  • Post Element Text - Checkbox

    Apex 4.0.2
    Suppose I use the Post Element Text attribute of a page item to render a checkbox using <input type="checkbox" .... and a dynamic action to save its state to a database table. I am sure this will work fine but when the page loads how do I go about setting the value of all these checkboxes?
    Any ideas? Thanks

    Hello Vikas,
    >> I am sure this will work fine but when the page loads how do I go about setting the value of all these checkboxes?
    The trick is to use a checkbox that has the same ID and value. Remember that only checked checkboxes are submitted to the server. You can look at the following for a simple example:
    http://htmldb.oracle.com/pls/otn/f?p=52616:30
    Now for some code. I’m using the following as the post-element content for the first checkbox:
       <input type="checkbox" name="f50" id="CB1" value="CB1">Option 1<br />The HTML name will remain the same for all checkboxes; however, the ID and value should be different for each extra checkbox (e.g. CB2, CB3m etc.). In this example, the checked checkboxes will be populated, at submit time, into the G_F50 array. Of course, you can use any other available G_Fxx array.
    I’m using the following table to save the checkboxes state:
    CREATE TABLE  "CB_STATE"
       (     "PAGE" NUMBER(4,0) NOT NULL ENABLE,
         "VALUE" VARCHAR2(4) NOT NULL ENABLE
       ) ;For saving the checkboxes state, I’m using the following after submit PL/SQL process:
    delete from cb_state
    where page = :APP_PAGE_ID;
    for i in 1..apex_application.g_f50.count loop
      insert into cb_state
      values(:APP_PAGE_ID, apex_application.g_f50(i));
    end loop;For setting the checkboxes state, while rendering the page, I’m using the following Before Footer PL/SQL process:
    htp.p('<script type="text/javascript">');
    for x in (select * from cb_state
              where page = :APP_PAGE_ID) loop
      htp.p('$x('''||x.value||''').checked = true;');
    end loop;
    htp.p('</script>');I’m sure you can translate the last snippet of code to a Dynamic Action. If you do, please post it in here.
    Regards,
    Arie.
    &diams; Please remember to mark appropriate posts as correct/helpful. For the long run, it will benefit us all.
    &diams; Author of Oracle Application Express 3.2 – The Essentials and More

  • Post-element text with computed value

    I have a page item (P10_X) with post-element text referencing a application level item using &G_ITEM. notation. G_ITEM is computed on the page and the computation needs to take into account the value of P10_X so the firing point is "after footer".
    This leads to a Catch-22 because the item and post-element text is rendered before the computation so the value of G_ITEM is not accurate.
    Any ideas? Thanks

    Not sure I understand. Suppose P10_X=10 when it is rendered. G_ITEM is computed as :P10_X (i.e. 10) + (select ...). The post-element text for P10_X refers to &G_ITEM. so it uses the "stale" value of G_ITEM; the latest value is not computed until after all regions are rendered.
    Edit: Turns out that P10_X obtains it value in an Before Header application process, not via its Source attribute. So I can put the computation for G_ITEM at the After Header point and so everything gets computed and rendered properly.
    Edited by: Vikas2 on Jul 14, 2009 4:05 PM

  • Post Element Text on report items

    I am trying to add an image after an item on a multi row report.
    Was wondering if there was anything similar to the Post Element Text attribute that is available for individual page items??
    I admit to being a little lazy in trying to create a custom popup lov (Displays description, returns key value) in a multi row report without using the htmldb_util.item function (as this would mean having to create my own optimistic locking and md5 computations).
    Was wondering if this was possible and if anyone had done this??

    Vikas,
    just trying to create a multi-row report which has several columns
    one of the columns is hidden and stores the id. One of the visible rows stores a description associated with the hidden id.
    I then want to display the list.gif icon after the description field so that it looks like a popup lov (i will code the popup up stuff seperately). In effect i wish to mimic the functionality provided by htmldb_item.popupkey_from_query without having to also code the optimistic locking you have to when using this in a query.
    what i am thinking is that if my reports select statement is a basic column selection and i can add a href image to the column as a post element text then this will give me the functionality i need with the optomistic locking provided out of the box?
    sorry the concept seems quite easy in my head but quite hard to explain ;-)

  • How to display text everytime  on new line

    hi
    i wana display my text everytime on new line like this
    class1
    earth & atmosphere]
    tell me what i do

    You can also code the lines one at a time:
    sprite(1).line[1] = "class1"
    sprite(1).line[2] = "earth & atmosphere]"
    Depending on the situation, this may or may not be
    preferable. I use both
    this and Mike's method on a regular basis. (Though I usually
    change the
    text on a member basis, rather than on the sprite, seems to
    work better.)

  • Text in " " on new line

    I making app and i end with this.
    String[] strLabel = { "We are, we are, we are made from broken parts"
                                        , "2", "3", "4", "5", "6" };
    I want to continue on new line, but it must show  like that in richTextBox.

    Hi Jacob,
    Thank you for your post.
    Based on your post, it seems your issue is out of support range of VS General Question forum which mainly discusses the usage issue of Visual Studio IDE such as
    WPF & SL designer, Visual Studio Guidance Automation Toolkit, Developer Documentation and Help System
    and Visual Studio Editor.
    Could you please clarify your issue? Did you want the text:
    We are, we are, we are made from broken parts or all texts in the strlabel array to show on new lines like the format below in a
    text box control in your application?
    We are
    We are
    we are made from broken parts
    or:
    We are, we are, we are made from broken parts
    2
    3
    4
    5
    6
    If yes, it is out of support range. I suggest you to consult on some development forum based on the type of your app such as
    Windows Forms Forum:http://social.msdn.microsoft.com/Forums/windows/en-US/home?category=windowsforms
    If I misunderstood anything, please feel free to let me know.
    Best regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Addind text in a new line within a  text box

    Hi everyone,
    I have a classic text box component that i am using inside
    director. I want to show some text inside this text box in such a
    way that it should come in. For example I am adding "Item 1" ,
    "item 2", " item 3" then every item should be placed in new line.
    I tried using new line symbol ( \ ) it but it didn't worked.
    set member("textbox").text = "Item 1 " & \ & " item
    2" & "Item 3" ---------> this gave me error
    Please suggest how to do this thing.
    Thanks
    Atul Saxena

    Hi Atul,
    Try using 'RETURN'
    set member("textbox").text = "Item 1 " & RETURN & "
    item 2" & RETURN &
    "Item 3" --------->
    Tim
    "Atul Saxena" <[email protected]> wrote in
    message
    news:envfet$dpt$[email protected]..
    > Hi everyone,
    > I have a classic text box component that i am using
    inside director. I
    > want to
    > show some text inside this text box in such a way that
    it should come in.
    > For
    > example I am adding "Item 1" , "item 2", " item 3" then
    every item should
    > be
    > placed in new line.
    >
    > I tried using new line symbol ( \ ) it but it didn't
    worked.
    > set member("textbox").text = "Item 1 " & \ & "
    item 2" & "Item
    > 3" --------->
    > this gave me error
    >
    > Please suggest how to do this thing.
    >
    > Thanks
    > Atul Saxena
    >

  • Wrapping Text to a New Line in a Single Text Field.

    I was wondering is it possible to conintue text in the same text field that runs out of space on a line to a new line in the same text field.  If this is possible could someone please advise.
    i.e:
    alot of text and random txt [ text box   
    text ] more txt on the next line.

    You need to check the checkbox "Allow multiple lines" in the Object properties.. You need to check the checkbox "Expand to Fit" for height in the Layout properties of the field.
    When you do this, you need to set the subform that wraps the TextField to Flowed. Otherwise the text will overlap on the fields below.
    Make sure you save the form as Dynamic PDF. Goto File menu -> Form Properties and choose Default tab. And select "Render PDF as"  Dynamic PDF.
    Hope this helps.
    Thanks
    Srini
    Added the image.. Message was edited by: Srini Dhulipalla

  • JTextArea How do I add text on a new line from Text field

    I want to put each new input from the text field at the start of a new line and keep the previous entries at the start of their
    own line.
    I'm doing this but need help with the new line.
    jTextArea1.setLineWrap(true);
    jTextArea1.setWrapStyleWord(true);
    jTextArea1.setEditable(false);
    public void textProcess()
    System.out.println(sourceref1.getSourceText());
    jTextArea1.setText(jTextArea1.getText()+" "+source.getSourceText());
    The above just keeps adding on the new text until I reach the word wrap limit.
    Thanks

    Maybe you should use the escape character. Anyway, you can consider use append(text:String) instead of getText() everytime.
    Eg:
    jTextArea1.append("\n"+source.getSourceText());

  • First time poster with a Stringy problem (new line "\n" not working...)

    Hello,
    I am having a bit of troble with making a string appear in multiple lines.
    I have the following code:
    String scores = ("1st Place "+ highInit1 + " " + highScore1 + " points\n");
    scores = scores +"2nd Place "+ highInit2 + " " + highScore2 + " points\n";
    With this string I am using swing and the following code:
    g.drawString(xxx,xxx,blah.getScores());
    When I have been doing this it always displays on a single line. I have tried positioning the "\n" in different places with no luck aswell. Any ideas what is going on here?
    Thanks

    I would suppose that drawString doesn't honor newline characters to do that. There's nothing magical about a \n character. It's just a character. It is up to the thing rendering it how it is going to treat that character. I would also suppose that's what the xxx, yyy parameters are for - to tell it where to place the text. Looks like you need two separate drawString calls.

  • Image in a post element text : urgent

    hello.
    I am simulating a lov popup field (display description, return key..) because I am building the popup page manually...
    All works fine, I have a text field witch receive the key and display a description, I am concatening an image (in the post text element), when I click on this image My lov popup is openeing...
    My problem is : the image witch is right to the text field must be stuck to this text field ( I have a space between them),
    Any idea please ?

    lila,
    We can look at your application on htmldb.oracle.com where you reproduce this problem. Just post the app ID and we'll take a look.
    Scott

  • 3.1 upgrade problem:  Post Element Text does not align properly - DUPLICATE

    Duplicated in error - problem with browser. Please remove this one.
    Thank you.
    Message was edited by:
    Thomas 8246

    Duplicated in error - problem with browser. Please remove this one.
    Thank you.
    Message was edited by:
    Thomas 8246

  • Text appears as horizontal lines on certain websites or not at all

    I tried searching for this problem on the board but most people only have the text overlapping problem. When I go to certain websites such as Suntrust Bank or imaging-resource.com the text does not load in some of the menus and appears as only horizontal lines or not at all BUT the link is still there if you hover over it. This is the first time it happens to me. Maybe its the newest version of Safari that is bugged? I am running version 3.1.1.
    Thanks,
    Danny

    Yes, but did you check your present IP, or the last one?
    I'm also wondering if it could have anything to do iwth the fact that I have very big inboxes & sent mail boxes.
    Not likely.
    Wasn't sure if rebuilding my mailboxes might help - my mail program isn't finding files properly either.
    Not likely to do with the sending problem, but...
    Not certain, but this can fix myriad Mail problems...
    Safe Boot from the HD, (holding Shift key down at bootup),  it will try to repair your Disk Directory while the spinning radian is happening, so let it go, run Disk Utility in Applications>Utilities, then highlight your drive, click on Repair Permissions, then move this folder & file to the Desktop.
    Move this Folder to the Desktop...
    /Users/YourUserName/Library/Caches/Mail/
    Move this file to the Desktop...
    /Users/YourUserName/Library/Mail/Envelope Index
    Reboot.
    If that doesn't do it and you can afford to redo all your Rules, try these & reboot...
    /Users/YourUserName/Library/Mail/MessageRules.plist
    /Users/YourUserName/Library/Mail/MessageRules.plist.backup
    Note, in 10.5 & up /Users/YourUserName/Library/Caches/Mail/ may or may not exist.

Maybe you are looking for

  • Loss of download speed using airport extreme and express.

    I have Wifi using an Airport extreme base station and an airport express extender.  However, the download speed drops from 21 Mbps to 8 Mbps. Any suggestions to boost the express other than an ethernet connection which would be difficult.

  • Help with uploading an excel file to a table using an application

    Hello, Can anyone please help me out with this issue. I have apex application where in the end users upload an excel file to a table. For this I have followed the solution provided in this link http://avdeo.com/2008/05/21/uploading-excel-sheet-using-

  • Get layer style settings from the differences between 2 images.

    Hello People, I have a question: Is it possible to get the layer style settings when I have 1 image with the layer style and 1 without it. Let's say I have an icon that's just a house. [img]http://s6.postimage.org/xfpzl5hl9/image.png[/img] And I have

  • Trouble with the Wi-Fi

    For Christmas, I received a 3rd gen iPod touch brand new and it started having major issues with the Wi-Fi about two weeks afterwards. Today I exchanged it for another one at the store it was bought at and the new one is having even more issues, righ

  • Lost Space(available) After Removing Bootcamp Partition

    While i tried to remove my windows partition it came up with an error.. Now i have a HDD thats divided.. I hope u guys can help!