How to set the mask dynamically?

Hi all

I have a page called element 'account '. I would be capable of anything by typing, the number has been formatted and I need to pass the format too.

For example:

I always pass a format: x.x.x.x.xx.xx.xx

and any type of user, the system will format:

element on the page:

account: 1.0.0.0.0.00.00.00

Is this possible in apex?

Thank you

bsalvador

Hi all

I'll post the answer to my question.

() $('#P1_ACCOUNT').keyup

function() {}

var i = this.value.length;

Saida var = $('#P1_MASK').text () .substring (0,1);

text var is $('#P1_MASK').text () .substring (i);.

If (texto.substring (0.1)! = saida)

{

This.Value += texto.substring (0,1);

}

});

I put this javascript on the Page attribute "run when the page loads.

While I type the number, this function formats the field with the agenda of the P1_MASK page. I did this because my mask can change, so I have a field with the format of the mask.

Thank you for all.

Bsalvador

Tags: Database

Similar Questions

  • How to set the page dynamically number in a URL?

    Hi, I would like to know how to dynamically set the number of pages in one URL. I have a report that shows me a list of options, and each option has a specific associated page number. I would like to redirect the user to a specific page, depending on the option, click it. (The values of the elements of the report, comes from a table that has two columns: opinion on, page_name)

    Thank you

    Just do the report column a link (in the attributes report > column attributes) and change the target to a url. The url should be something like

    f? p = 1: #MYPAGENUMBERCOLUMN #:Session:Request:Debug:Clearcache:itemname:itemvalue:printerfreindly

  • OSB - how to set the mask of different file for the FTP traffic?

    Hi all

    I use transport FTP OSB to watch a folder (on remote FTP server).
    For file mask, we can use several types?

    In my case, I want to ask all the files that has the choice of the following file name extension:
    1 *. ABC
    2 *. ABc
    3 *. AbC
    4 *. ABC
    5 *.abc
    6 *.aBc
    7 *.abC
    8 *.aBC

    In other words, any file ends with abc (case doesn't matter).

    Can I set different types of file mask? How?
    I tried to put all 8 masks, separated by ',' and also tried ';
    But failed.

    Or any expression , can I use the file mask?

    I tried to put all 8 masks, separated by ',' and also tried '; But failed.

    A proxy may have only one mask file. You cannot specify more than one file in a single service mask.

    Can I set different types of file mask? How?

    Not in a single proxy service. You must either create a proxy with file mask *. * (star.star) to read all the files in the directory, or you must create the number of proxies with each having a specific file mask.

    Or any expression, can I use the file mask?

    Only the wildcard characters * and? are allowed in the file mask. Regular expressions are not supported.

    Can you let us know more about your use case so that we suggest a good solution? Will be your files with another extension of file system process differently or what all the file extension is treated in the same way? Which application writes files being read by OSB and cann't, it controls the naming of files?

    Kind regards
    Anuj

  • Documaker: How to set the overflow by page 2

    Hi Experts,

    I want to put the overflow of 2 per page.
    Overflow works, but a part of the production is superimposed on 1 page.
    I can't set the overflow by 2 pages?

    1 formA (contains Subform1)
    2 Subform1 (contains Subform2)
    3 Subform2

    Subform2 has 2 pages (pages 1/2).

    Subform1 on proforma is the overflow setting when the trigger by XML.
    Search mask (counter)!: / xxx, data, repetition, repetition

    Subform2 on Subform1 offers which are always repeated 3 times.
    Reference:
    Documaker: How to define repeated 3 times exceeding always.

    For example, there are 2 types (Type 'X', type there "") in "Repeat".
    In the test, sample output is as follows.
    I want 12 pages output, but output data are 11 pages because PAGE 6 superimposes itself on 1 page.
    (1), (2), (3) East County. (Always 3 times a 'Repeat')

    PAGE 1: TypeX (1) - page1
    PAGE 2: TypeX (1) - page 2
    PAGE 3: TypeX (2) - page 1
    PAGE 4: TypeX (2) - page 2
    PAGE 5: TypeX (3) - page 1
    PAGE 6: TypeX (3) - page2 is encroaching TypeY (1) - page1
    PAGE 7: Typical (1) - page 2
    PAGE 8: Typed (2) - page 1
    PAGE 9: Typed (2) - page 2
    PAGE 10: Typed (3) - page 1
    PAGE 11: Typed (3) - page 2

    Please tell us how to set the overflow by page 2.

    Thank you

    It always seems that you have your typed page (1) configured to use an absolute origin and defined on the same page as your another subform.
    If your know you will have to TypeX and typed elements and you want the TypeY to start on a new page, then you must go back to the provision of origin in DMStudio and create a new page and start the subform to TypeY on its own page.
    By definiing two subforms on the same page of the form and each giving origin start to ABS 0, you say that the two elements can co-exist on the same page. That might be true if they are mutually exclusive where you would have only one or the other. But if you can have both, you can't have the second subform have an absolute origin. Otherwise, he will always overlap all that exists on the page where you set trigger.

  • How to set the value of a field from the LOV of another field.

    I'm trying to figure out how to set the value of a field (P_PROGRAM) to the value of another field of based lov (P_STATE).

    The P_PROGRAM field is a hidden field. The P_STATE field is a required field and is based on a list of values for the State Codes.

    When a user selects the State to P_STATE, the field of the P_PROGRAM should be set to this value, as well.

    I tried different ways to get there via a function call on the post for the calculation of the field P_STATE, defining the source P_PROGRAM to the value of the page item P_STATE put varialbles, creating a process before SENDING, and they all still come back as having a NULL value for P_PROGRAM, therefore impossible to create the file in the db as the PROGRAM is a mandatory field in the table.

    Can you please help? Thank you, Laura

    Laura,

    It is always helpful if you provide information about the Apex version you are using. The Apex 4 you can use Dynamic Actions to achieve this. In earlier versions is possible using processes to submit or javacsripts, as well.

    Heres how you do in 3.x with treatment to submit, to make it work in 4.0 as well.

    1 do the P_STATE ' select list submits the Page.
    2. Add a calculation on the point P_PROGRAM, or write to him assign a value based on a process. The treatment should be OnLoad after the header
    3. If the page does not have an unconditional branch that loops on itself, add a. NOTE: The direction must be the last branch (larger sequence number) and should have checked "Save Session State".

    This is what will happen
    a. when the State is selected Page will be submitted
    (b) it will take the unconditional branch to himself and save the value of P_STATE
    c. the calculation process / fills the value of the P_PROGRAM element when the page reloads

    Kind regards

  • How to set the number of e-mail messages that are stored on my iPhone

    How to set the number of e-mail messages that are stored on my iPhone – so when I don't have a network connection I can see a 'large' number of messages in my Inbox etc.

    This is series is not defined in the world

    You must go to settings-> mail, contacts, and calendars and check the settings of your e-mail provider offers in this area

  • How to set the time that my screen stays on?

    How to set the time that my screen lights up.  I have an iPod Touch 6?

    Settings > general > auto-lock

  • How to set the default android home page.

    How to set the home page in the latest browser of firefox for android?

    Hello:

    Unfortunately you can not remove the top sites home page but you can pin a site, remove a site from unpin it and change the url of a pinned site.

    Please read this article for instructions.

    I hope this helps!

  • How to set the time between slides in a slideshow (iPhoto, el capitan)

    How to set the time to say - 5 seconds or 20 seconds - between slide show photos in iPhoto. I use el capitan.

    See the Settings button at the bottom right of the toolbar (at the bottom of the slide show). Click on it and you have a small window with two tabes, refers to all the slides, the other to the selected slide. You can make your choice

  • Satellite C660 - how to set the focus of the webcam?

    Hello

    Just bought this laptop, the built-in webcam looks very blurry when I use Skype. Does anyone know how to set the focus to the subject?

    See you soon
    Jules

    Hello

    to be honest, I have no idea on your model of lap... Try to update driver webcamd and play with Skype video settings.

  • How to set the date and time on my HP Officejet pro 8600 more?

    How to set the date and time on my HP officejet pro 8600 more?  It just on a printed journal Jan-oo-oo fax shows 00:00 AM.  There are no instructions on how to change this.  I need proof that I sent a fax to a certain date and time.  Help, please.  Thank you

    Hello

    Below are the steps to set the Date and time for your device:

    1. On the Control Panel, press the right arrow key ( ), press Setup ( ).

  • How to set the output meter channel to generate a signal pulse using DAQ6008

    Hello there I am generating a pulse signal of 100 Hz and a duty of 20% of the 6008 data acquisition cycle using visual studio 2013. I have code that needs to generate this but I'm not sure on how to set the channel output meter. When I run this NI MMAX and my vb error code indicates that the physical channel is not supported. I am a user of data acquisition were first and would appreciate any help offered.

    If you look at the USB-6008/6009 User Guide and specifications, you will see that the counter in these devices cannot rely as edges of entry. It cannot generate a pulse.

    Lynn

  • How to set the position and size of the façade using the FPRunTimePosRunCustom method in a c# application?

    How to set the position and size of the façade using the FPRunTimePosRunCustom method in a c# application?

    I found a solution! -Set the size and position of the façade with the help of the

    File > VI properties > window running Position (in category list) > custom (in position of menu drop-down).

    then just accept the current position and size (leave the boxes checked) or set values you want directly (uncheck the boxes and fill in the numbers), or physically position and size the façade and use, the "set to current location" button and press "set size" current All that is easier for you.

    OK so it does not make use of the method VI Methods (Active X) FPRunTimePosRunCustom ([Position], [Size]) but if labview want to make him difficult to use then other means must be found.

  • How to set the printer wireless ad Hoc mode to CP1025nw with automatic stop is off? IE never automatic.

    How to set the printer wireless ad Hoc mode to CP1025nw with automatic stop is off? IE never automatic.

    Thank you very much for your help, if necessary.

    Quite a few questions, send, but I will do what I can to answer them.

    I recommend first to buy a router, even if it's one you won't connect to internet and it network with others your PC and printer. This will give you the best features and the results of what you're trying to do.

    In addition, the automatic stop of the printer function can be disabled and is not affected by the type of connection. Usually, you can go through the configuration Menu and select tools to change the options there on the energy saving features.

    Finally, the auto off function on your computer is a Windows question, but one easy answer. If you're on a laptop, you can right click on the battery in the tray (lower right corner) and change the settings for energy conservation.

    You might be better off installing the printer via the USB cord and alternately inspiring when you use it, but which is not optimal if you are printing only a few documents on an irregular basis. A network connection is the easiest to manage across multiple computers, honesty, but you have certain requirements for this connection and limits as well.

    I hope this information is useful!

  • How to set the path of the report in a plugin for model

    I'm trying to figure out how to set the path of the report in a plugin process model. I can't find a way to have access to it. It seems this would be a reasonable thing to do since the plug-ins are for the treatment of the results. Does anyone know how to do this? We generally use the sequential process model, but I try to keep my plug-in as independent as possible.

    Thank you.

    If I understand correctly, you want your plug-in, when enabled, change the settings of all other instances of the report OR plugin as their reports share the same directory that your plug-in is configured to use.

    If so, your plug-in can access and change the settings of all other instances of plugin. All instances are passed to all the points of plugin entries in the subproperty of the plugins of the ModelConfiguration parameter table. You can browse this table. Any element of the array with an equal to "NI_ReportGenerator.seq" Base.SequenceFilename is an instance of the report OR plugin. Its report options are stored in the element under PluginSpecific.Options.

    You can change the report options to what you want. Note that the recall of the ReportOptions model is called from template-plugin Initialize entry point, then you might want to ensure that your changes are applied after that, so they are not replaced. To do this, you could make your changes in the Initialize entry point of your plugin and make sure your plugin runs last. To rotate the last, you can set the FileGlobals.ModelPluginComponentDescription.Default.Base.RunOrder in your file of plug-in with a value greater than 0, for example 1.0 (see Help for TestStand > Fundamentals > process template Architecture > plug-in for the model process Architecture > Structure of the plugin sequence files > plugin model of entry Points > Order Execution of Point of entry at run time).

Maybe you are looking for

  • How to stop the mounting EFI partition

    Hello All of a sudden the EFI partition on one of my external drives moved whenever the drive is connected.  I don't want this behavior. I want to partition EFI stop this (or any) editing 'automatically', but for the life of me can not know how to do

  • P201tx HP: HP Coolsense is not install properly on Windows 10 Anniversary Edition

    I upgraded my Windows windows 8.1 for windows 10 but hp coolsense does not install on windows 10 it says some question of the .net framework. It is said to install .net framework and already I installed it. still Coolsense does not work on my laptop.

  • Satellite A300-202 - problems with alternating current

    Hello I bought a Satellite A300-202 a few months ago and I'm having intermittent problems with alternating current. Sometimes I plug the AC power and it does not start (the led are off and windows says that it is on battery) charge. Other times, he i

  • Memory Stick does not load

    I can't get my memory card to read. When I put it in the computer, the green light turns on but nothing else happens. I tried the fix auto Wizard and it didn't work. My card is from a camera.

  • I can't highlight text without getting a comment, just what to highlight text

    I can't highlight text without getting a comment more, juice want to highlight text.  I think has made past comments tool, but I can't figure out what I need to remove to highlight that in edit PDF