Plugin 'Hidden text': how to change the mask of interactively? (Apex 4.2)

Hello


I use the plugin 'Hidden text' large (of the Oracle Application Express Plug-Ins page) to enter formatted text.

Now, I'm trying to put in place a way so I can change the format interactively mask, but has failed so far.

The plugin has a custom attribute "The InputMask" and I created an element of the page 'P2_INPUTMASK '.

In th e page is displayed as 'Hidden text' the "The InputMask" attribute is defined on & P2_INPUTMASK.

I put in place a dynamic action (with a point of the box) that can change the value of P2_INPUTMASK, and then refresh the

Text maskes element, but the mask of text never changed.

Is it possible to change the value of the attribute mask interactively?


Kind regards

Roland

If you examine the code of the plugin, you will see that the mask is applied on the definition page loading, so your change does not affect things to run.

        apex_javascript.add_onload_code (
            p_code => 'apex.jQuery("#'||p_item.name||'").mask('||
                      apex_javascript.add_value(l_input_mask)||
                      '{'||apex_javascript.add_attribute('placeholder', l_placeholder, true, false)||'});' );

But you can change your dynamic action to call some javascript that would execute, something very similar to this one. Make sense?

to start:

$('#P2_INPUT').mask($v('P2_INPUTMASK'));

Scott.

Tags: Database

Similar Questions

  • How to change the display resolution of APEX?

    Hi guys,.

    How to change the display resolution of APEX?
    In other words, if an end-user sees large elements on a page, then it zoomed out there... How can I define a good zoom LENS for my default application...

    I hope that my question is simple...
    Kind regards
    Fateh

    Fateh says:

    I hope that my question is simple...

    Nope.

    How to change the display resolution of APEX?

    APEX is not a resolution of the screen. 'Screen resolution' is a property of the device, user agent software used to view the page APEX.

    What do you mean by "resolution of the screen of the APEX?

    In other words, if an end-user sees large elements on a page

    What "big items?

    then it the zoom out

    How?

    "Zooms", what - the whole page or 'big one '?

    How can I define a good zoom LENS for my default application...

    Which means what?

    And as usual, we are missing:

  • Full version of APEX
  • Complete operating system DB, version, edition, host
  • Architecture of Web server (EPG, SST or APEX listener/host operating system)
  • Browser (s) and version (s) used
  • Theme
  • Model (s)
  • Region/item (s)

    You have been posting here for years. You know this basic information is needed to understand and reproduce problems.

    If you need help it does not seem unreasonable that you made the effort to provide a complete, clear but a concise description of the problem or need.

  • How to change the text size in the menu drop down labels?

    How to change the size of text in the label drop-down list box?

    Extension of theme font & size changer.

    https://addons.Mozilla.org/en-us/Firefox/addon/theme-font-size-changer/

  • How to change the text in the paint once I clicked outside of the text box?

    How to change the text in the paint once I clicked outside of the text box?

    How to change the text in the paint once I clicked outside of the text box?

    ====================================
    I guess you could go to... Change / Cancel... then again...

    FWIW... the free Picasa software has tools to add text to photos.

    Picasa
    http://Picasa.Google.com/

    How to add text to your Photos using
    Google Picasa 3
    http://www.ehow.com/how_4599330_text-photos-using-Googles-Picasa.html John Inzer - MS - MVP - Digital Media Experience - Notice_This is not tech support_I'm volunteer - Solutions that work for me may not work for you - * proceed at your own risk *.

  • Using paint and how to change the text box.

    How can I select a text box that you want to modify in the paint - Windows 7 Home Premium?  Once I leave the text box I can't select again a second time to change the text or grab it to move... I must be missing something very simple?  Is there a manual program somewhere?  Yes, the zoom is 100% and I am the administrator.  Thanks for any help!

    The painting is a very simple program and does not support the re - select a text box to change the content.

    "mikecvista" wrote in the new message: * e-mail address is removed from the privacy... *

    How can I select a text box that you want to modify in the paint - Windows 7 Home Premium? Once I leave the text box I can't select again a second time to change the text or grab it to move... I must be missing something very simple?  Is there a manual program somewhere?  Yes, the zoom is 100% and I am the administrator.  Thanks for any help!

  • I don't know how to change the size and quality of the text on the screen on Windows 7

    I just installed a new Windows 7 but I don't know how to change the size and quality of the text on the screen.  I tried all the things normal, resolution, size of icons, dpi etc but nothing gives me what I want.  The text in clear 'wonderful' thing is just terrible.  When I go through the 4 steps I see no text boxes which make the text nothing better.  All options are terrible, so the result on screen is too terrible.  When I do any huge I do not get a full screen of things - view the Start button disappears or I did not closing small cross at the top - of the suggestions to inprove the situation?  I must mention that my screen/monitor is 2006 - I need to buy a new one?  How much is this Windows 7 is going to cost me, or maybe I should go back to XP!

    I sincerely thank all you smart "technicians" for all the answers you always gave myself and all others who ask questions.  I'm not too smart with all this new technology as I fell into it very late.  I am now in my 60s and only started using a pc when I was over 50 years so...  In any case, I asked a question about the size of screen resolution and text and received much good advice from all that you guys.  I had recently changed in XP to Windows 7.  However, the bit of advice that I was given in 'Cyberking' here at the Portugal had set the resolution of the screen, the advanced settings, 75 to 60 Hertz Monitor tab.  Very basic, and the first question asked the technician (Lady) was "what size is your screen?  Naturally as a smaller screen that any 'techno' would be considered dead aid, solving the problem was simple and straightforward without me having to stretch my knowledge and my skills by downloading all programes weird (to me) or do the funny stuff in the bios or something else.  I send this comment to you for you to realize that the simple solution is not always bad and maybe we should go for the easiest first and then work up to the more difficult ones.

    Just for you all to see - now my screen resolution is perfect, the text on the screen is clear and legible without difficulty, even though the size of text and icon is small.  Clarity is all!

    Thank you all once again!   Best regards, Blondie blue.

  • How to change the color of the text in a form?

    I hae a standard Muse contact form in my site, and I don't see how to change the color of the text in the form labels and the text that is in a field before seizure is produced, but how do change you the color of the text that is entered in a field by a user?

    Hello kevinb,.

    The solution in this thread provided by Connor - change the attributes of text on turnover of muse , that's what you have to do.

    Let me know if you need additional information.

    Kind regards

    Ankush

  • How to change the header text in a sensitive presentation of HTML5

    I work in HR 11.0.4.291.

    This is probably a "duh" question, but I can't remember how to change the title text in the header of a sensitive layout. In the layout editor, I see that I can change the title, color and color of hover font, but where you change the actual text?

    Any help will be much appreciated.

    Can also be the title bar?

    See you soon... Rick

  • How do I reselect the type to change.  I have a text template that I want to, but when I try to select it with the text tool always creates a new text layer.  How to change the type of the layer in my registered design?

    How do I reselect the type to change.  I have a text template that I want to, but when I try to select it with the text tool always creates a new text layer.  How to change the type of the layer in my registered design?

    OK, Bob. This give a try.

    First, open a new file and make sure the background is white, not on Transparent that I suspect you have currently defined.

    Then, type your copy. Your layers panel will then look like the top of this picture...:

    and when you drag the text on the image layer, it will look like the lower part of the sample above.

    You can then position the text layer with the tool move

  • Dreamweaver CC: How to change the color of the selected text

    Maybe a stupid question, but I can't seem to figure it out, even with searches on the web.  I want to change the color of a single word in my HTML document.  Can anyone offer advice?

    I can change some styles of the selected text (bold, italic, etc.), but do not understand the color.

    Also, I know how to change the color of the different elements using CSS.  But for the selected text in an element, CSS here the simplest solution?

    Thanks in advance.

    carlg79335635 wrote:

    Thank you for that.  But I don't have a color option in my menu format.  It ends at some CSS Styles.  I have to allow him anywhere?  I use Dreamweaver CC.

    Yes.  I checked it and in CC DW, there is not a way to do as I suggested previously.  I was watching DW CS6 and he got it.

    Looks like you'll need to teach how them to manually code.  This will make them think about what they are doing and so concentrate better.

  • How to change the text after the script to the Calendar Wizard creates a calendar

    I mainly work with Photoshop, so I am new to the world of InDesign.  I put my options for the Calendar Wizard script, it goes through the motions, making the calendar and then shows my finished product.  The problem is that it lists the year alongside each month: may 2012 June 2012, etc, and I need to remove '2012' of each of them.  I know that the font styles updates the entire calendar when they are applied, so I hope that it works in a similar way.  I guess it is a very simple task if you are familiar with the program, haha!

    Thanks in advance for any help!

    It sounds more like you ask how to delete 2012 of several pages, and not how to change the script to not put 2012 in all first. If I'm wrong about this, you may want to ask on the Forum script.

    An easy way to remove 2012 is to use find/replace. If you are looking for 2012 and do not fill the field exchange, she will replace 2012 with nothing. In the Find/Replace window, there is a field that will allow you to search for the location of the cursor to the end of the current history, the history, the stories in the document or all open documents. If you set it to the Document, you can use the search button to find the first instance, and if you want to remove it, you can hit replace them, replace/find (what will change and find the next instance), or change everything. I would replace/find, in case you have 2012 on another part of the calendar that you want to keep. You can also have it search the text only when it has a particular paragraph or a character style and put in place the same or a different paragraph or character style. To do this, click in the boxes of Format change or find. To clear out them, hit the small icon of the Recycle Bin next to the field.

  • How to change the text design AS3 using the class Date

    Hi I tried to create a 24-hour countdown on 24 who will make a loop and play back counting it self down to 00:00:00:00

    Thanks to Andrei1 for providing me with this code to create the next animtion:

    var result: String = "";
    var date: Date = new Date (null, null, null, 0, 0, 0, 24);

    var timeDisplay:TextField = new TextField();
    timeDisplay.autoSize = TextFieldAutoSize.LEFT;
    timeDisplay.multiline = timeDisplay.wordWrap = false;
    timeDisplay.border = true;
    timeDisplay.x = timeDisplay.y = 20;
    timeDisplay.text = "00:00:00 ';

    addChild (timeDisplay);

    var: timer = new Timer (250);
    timer.addEventListener (TimerEvent.TIMER, count);
    Timer.Start ();

    function countDown(e:TimerEvent):void {}
    Date = new Date (date.setTime (date.getTime () - timer.delay));
    result = date.toTimeString () replace (/ \s+GMT\-\d + /, "");
    timeDisplay.text = result;
    }

    The end result, I'm looking for is to display this countdown clock in a clear gray arial font as shown in the picture below link:

    http://img801.imageshack.us/img801/3604/picture1ms.PNG

    Right now the code I received leaves me with a box around the type and a GMT (+ 000):

    http://img534.imageshack.us/img534/4264/picture2ot.PNG

    I was wandering if any body knows how to change the design of something in the photo above simular.

    Thank you for your help in advance.

    Tom

    Snippets of code is one thing, but nothing is gained back together solutions to people without explanation (but maybe a smile to not have to struggle with it).  Learning is not easy and it is better that it isn't... it involves the effort, stadiums, an increase in capacity to win.  You presented an entirely different approach to a solution that involves techniques beyond a beginning level.

    Don't you think that tom understands what he has in his hands?  It can develop its own regular expressions or manipulate a Date object to what you gave to him?  More importantly, since he never solved the intitial design of yesterdays issues poster, which has involved basic concepts much more, don't you think he could solve this design now?  Or he missed on some basic things that must precede the techniques that you have provided learning?

  • How to change the highlight color, click the button image and text and sound.  are there packages of buttons for use in my project?

    How to change the highlight color, click the button image and text and sound. are there packages of buttons for use in my project?

    Hello

    Even if the point of things based Web links buttons created using them is of simple images. Captivate uses simple images. If you need to put your creative hat and not to let the fact that you see the word 'web' scared you somehow. An image is an image. Use on the web, use Captivate. Same case!

    If you change the properties of the button, you can activate the legend of success. Fix any sound that you like with the legend of success and it will play when you click the button. If you do not want to see the legend of success, delete the text and configure it as transparent.

    See you soon... Rick

    Useful and practical links

  • How to change the text, I have already done?

    Hello. I added a text to my film, which I'm doing right now. I noticed today that he needs moving to the bottom of the screen a bit. However I don't know how to change the text that I have already created. Is it possible to do? Thank you.

    Make sure that you are in mode - no view timeline sceneline.

    You will see the clip of the song on a higher video track. Double-click on it to re - open for editing.

  • How to change the text of the common library element

    Hello

    I insert a box of common library option, the default text value is 'etiquette '. How can I change to something else?

    The option button is a symbol; its properties can be edited in the symbol properties panel. You open this Panel by window > properties of the symbol. Then, select the Text property and change the value.

    SiamJai

    --------------------------------------------

    Fireworks innovative tutorials

Maybe you are looking for