With the help of value form dynamic link

Hello

my PDF contains an input text field and a button.

The value that is entered in the field should be included in an Internet link which must be opened in a browser by clicking on the button. (e.g. http://www.xxx.yy/theID )

(1) my entry field has an ID, and I can get this ID performs the following Javascript code:

$id = this.getField('ID').value;

So I added a first action "Run a Javascript" button, that contains this code.

2) next step would be to add a second action "Open a web link" the button, setting the URL for example http://www.xxx.yy

The question is: how to combine these two actions and put the value of $id in the link of my method "open a web link" to dynamically change the URL to http://www.xxx.yy/theID ?

Example: I entered 12345 in the field, and then press http://www.xxx.yy/12345 should be opend!

Any ideas?

Thank you very much

First of all, do not put a dollar sign before the name of the variable. It is not necessary in JS.

As to your question: I don't think that this can be done by using the action "Open a web link", but it can be done by using the action "execute JavaScript.

Inside, you can use the launchURL method, you can specify a URL string. In this string, you can include the value of your text field, as follows:

app.launchURL ("http://www.xxx.yy/" + this.getField("ID").value);

Tags: Acrobat

Similar Questions

  • With the help of registration of dynamic events for a Subvi

    Greetings to the forum LV,

    I'm having a problem with the inclusion of dynamic events in a Subvi and hope someone here can help you! Attached, is the culmination of many attempts to try to understand the inclusion of dynamic events. Basically what I'm trying to do with the screw joint is 1.) have a button that controls output PWM, 2). a speed selection menu that can enter 1 button said.) with an array of pwm values predefined; and finally, 3) to have some sort of event program which "connects" controls in 1). (and 2.) (IE, if I move the button to an exact value shown in the table, the speed selection must match this event). So far, I can say with certainty that the "speed selection" event card will not work because "New value" & "Old value" refer now to the refnum and not the selection of speed control (I intend to solve this problem after I solved this problem of the Subvi). However, the map of event engine speed PWM should work (when matches button among the values in the table, the selected speed will also report the "speed selection" control), which allowed me to reach my conclusion that the Subvi is not working.

    My reference to dynamic Subvi Event Registration: http://digital.ni.com/public.nsf/allkb/A882E27D1D7A949386256E0D0066B91A

    You need to make a different State for 'Timeout' in the Subvi and also avoid passing the value of timeout as -1.

    Find the file code.

  • With the help of value in an input text for the calculation in a Variable area

    I have a project where I ask the user to fill out their name in a box entry and two-digit age in another area of text entry.  Later in the project, I want to ask them to think when they were 6 years and how they would describe themselves right there.  (the project is about self-awareness).  To make it as pleasant as possible, I thought it would be nice to say. "(Name variable), think to (years since 6) years, when you were about 6 years old'."  I'm unable to get the variable 'Since 6 years' work and I would like to know if it's possible.

    • I set up the variable text box as "v_age".
    • I've implemented a variable like "v_age6" with the value "6".
    • I implemented the variable result as "v_result_age6".
    • I have set up a standard action with a mathematical expression which reads "v_result_age6 = v_age - v_age6.

    The variable output does not appear on the scene in overview of project mode, and I think it's because there is only a single variable with a value assigned in the equation.  The variable "v_age" doesn't have an assigned value because it is a text entry area.

    Is it possible to use a value typed in a user as a variable to do math with?

    Thank you.

    Welcome to the forum,

    Each TEB has an associated variable, its generic name is the same as the BER. But you better match your variable with the most significant name to the ETB. Take a look at this old real blog post, always to news (though perhaps the screenshots are little bit outdated):

    http://blog.lilybiri.com/timesaving-Tip-Create-associated-variable-for

    BTW: you have no need to create an additional variable to number 6. This action would have done as well:

    Expression v_resultage6 = v_age - 6

    How you trigger the action, by what event?

    http://blog.lilybiri.com/events-and-advanced-actions

    Lilybiri

  • I am a little confused with the help of CSS for control links.

    I put in a hover, the active color properties and visited.

    the problem is that once a link has been visited the hover color is no longer present.

    So I tried to delete the visited color and now even when I go, it's to stay by default is purpleish.

    Please advise on how to keep the links a color except when plane

    :-)

    The order of CSS declarations is important. You can paste it into the CSS code you are using? Should be generally in this order:

    : link

    : visit

    : hover

    : focus

    : Active

    (not all must be used)

  • With the help of FSP_AFTER_LOGIN_URL for deep links

    Hello

    I use the Application Express 4.1.0.00.32 on Oracle 11.2.0.1 RAC.

    I want to direct a user to a specific page by using the following URL from a link in an e-mail...

    http://myhost:8080/apex/f? p = 111:41:2115755123353567:RP:P41_LDIF_CSV_HEADER_ID:285

    I tried to use FSP_AFTER_LOGIN_URL in the URL based on the information found in the forums etc...

    http://myhost:8080/apex/f? p = 111:41:FSP_AFTER_LOGIN_URL: / f? p = 111 | 41. PR | P41_LDIF_CSV_HEADER_ID | 285

    but I'm obviously missing something because it just doesn't work, the user is redirected to the page of connection, as planned, but after logon is presented on the home page.

    There is no reference to FSP_AFTER_LOGIN_URL in the documentation of the Apex.

    If anyone can point me in the right direction, I'd be very happy.

    Thank you
    Dave

    Once you log in to your app look at the value of session to FSP_AFTER_LOGIN_URL, can be less or more colons in your URL

    Look at this Re: deliver OWA_UTIL. REDIRECT_URL with APEX 4.1.1

    Thank you

  • With the help of active and hover link color, visited

    Sorry, I found the answer...

    Sorry, I found the answer...

  • With the help of JavaScript condition in the dynamic action of JQuery selector

    Hi guys,.

    I have a Setup master detail on a page.

    The detail section, I have a tabular presentation.  One of the fields is a selection list.  The first record in the select contains the value * not * that has a value of primary key for the 1.  I have a distinct region with a simple text field where the user can insert a value into the table if the value does not exist.

    I want than the region of text element to only appear if the value * not listed * is selected.

    I managed to make it work when the value is selected with the help of dynamic action with a bit of JQuery and JavaScript by setting the ID on the selection list to 'create' and have the following in JavaScript $(this.triggeringElement) .val ()! = 1 in the JavaScript for dynamic action condition shows it or hides the region of 'create' and that works well.

    However, if the secondary table is empty before the detail records were created (nothing selected in triggering jQuery Selector) the region of create is displayed when I don't want it.

    I guess I need some sort of NVL in JavaScript condition?

    I use APEX v4.2.

    Any advice would be appreciated.

    Chris

    Cashy wrote:

    I have a Setup master detail on a page.

    The detail section, I have a tabular presentation.  One of the fields is a selection list.  The first record in the select contains the value * not * that has a value of primary key for the 1.  I have a distinct region with a simple text field where the user can insert a value into the table if the value does not exist.

    I want than the region of text element to only appear if the value * not listed * is selected.

    I managed to make it work when the value is selected with the help of dynamic action with a bit of JQuery and JavaScript by setting the ID on the selection list to 'create' and have the following in JavaScript $(this.triggeringElement) .val ()! = 1 in the JavaScript for dynamic action condition shows it or hides the region of 'create' and that works well.

    However, if the secondary table is empty before the detail records were created (nothing selected in triggering jQuery Selector) the region of create is displayed when I don't want it.

    I guess I need some sort of NVL in JavaScript condition?

    I use APEX v4.2.

    Simple solution is to hide the region containing the element of text by default, using the style = "" view: no ' in the property of the attributes of the area in the region. " It will be always hidden when the page initially, but its visibility will be controlled by the DA subsequently.

  • Please, do I have with the help of Javascript can change the values of tones? for example my color of nail POLISH with c: 0, m:10, y: 15, k: 0 to change to c: 0, m:0, y: 0, k: 0? Thank you

    Please, I beg you, with the help of Javascript change the values of specific spot color? for example, I have the color called VARNISH with c values: 0, m:10, y: 15 k: 0 and it would help me to change to c: 0, m:0, y: 0, k: 0, in an action. Is this possible? Thank you

    Hello Kon Verter,

    You can change the values in your sample of spot, but you need to check a lot of things before.

    for example, you can do something like this:

    var Vcolor = app.activeDocument.swatches.getByName("Varnish");
    if (Vcolor.color.spot.colorType == ColorModel.SPOT && Vcolor.color.spot.spotKind == SpotColorKind.SPOTCMYK) {
        alert("Black value before: "+Vcolor.color.spot.color.black);
        Vcolor.color.spot.color.black= 0; // and so on
        alert("Black value after: "+Vcolor.color.spot.color.black);
        }
    

    This will change the black value of the task of CMYK color with name Nail Polish 0

    Have fun

  • A problem with the display in a form with a ScatterGraph

    Hi all!
     
    Now, I want to do an image that can be expanded outside and inside with the viewport in a form with a ScatterGraph window. I tried previously to do this picture as a backdrop, but the backgroundpicture cannot be zoomed with the display window. How can I solve this problem?

    Here is the picture:

    Or I have to calculate a large amout of points to sign on the coordination of xy without the image, and how can I register quickly because it takes a long time to calculate.

    Hello

    You can zoom/dΘplacer an image as well as the plot in charts. Here is a snippet of code showing how you can do it.

    Normal
    0

    fake
    fake
    fake

    EN-US
    X NONE
    X NONE

    MicrosoftInternetExplorer4

    / * Style definitions * /.
    table. MsoNormalTable
    {mso-style-name: "Table Normal";}
    MSO-knew-rowband-size: 0;
    MSO-knew-colband-size: 0;
    MSO-style - noshow:yes;
    MSO-style-priority: 99;
    MSO-style - qformat:yes;
    "mso-style-parent:" ";" "
    MSO-padding-alt: 0 to 5.4pt 0 to 5.4pt;
    MSO-para-margin-top: 0;
    MSO-para-margin-right: 0;
    MSO-para-margin-bottom: 10.0pt;
    MSO-para-margin-left: 0;
    line-height: 115%;
    MSO-pagination: widow-orphan;
    font-size: 11.0pt;
    font family: 'Calibri', 'sans-serif ';
    MSO-ascii-font-family: Calibri;
    MSO-ascii-theme-make: minor-latin;
    mso-fareast-font-family: "Times New Roman";
    mso-fareast-theme-make: minor-fareast.
    MSO-hansi-font-family: Calibri;
    MSO-hansi-theme-make: minor-latin ;}
    table. MsoTableGrid
    {mso-style-name: "Table Grid";}
    MSO-knew-rowband-size: 0;
    MSO-knew-colband-size: 0;
    MSO-style-priority: 59;
    MSO-style-unhide: no;
    black border: solid 1.0pt;
    MSO - border - themecolor:text1;
    MSO-border-alt: solid black .5pt;
    MSO - border - themecolor:text1;
    MSO-padding-alt: 0 to 5.4pt 0 to 5.4pt;
    MSO - border - black insideh:.5pt United.
    MSO-border-insideh - themecolor:text1;
    MSO - border - black insidev:.5pt United.
    MSO-border-information - themecolor:text1;
    MSO-para-margin: 0;
    MSO-para-margin-bottom: .0001pt;
    MSO-pagination: widow-orphan;
    font-size: 11.0pt;
    font family: 'Calibri', 'sans-serif ';
    MSO-ascii-font-family: Calibri;
    MSO-ascii-theme-make: minor-latin;
    MSO-hansi-font-family: Calibri;
    MSO-hansi-theme-make: minor-latin ;}

    Image img =
    Bitmap.FromFile ("myImage.jpg");

    in pixels, this is the place
    where the image will be drawn

    RectangleF initialRectangle = Rectangle.Empty;

    in the data, to map coordinates the
    image

    XRange range;

    Range yRange;

    Private Sub PlotMyData()

    {

    plot your data here

    xData double [] = new double [] {3, 5, 7, 5, 8, 3, 7, 8, 2, 6};

    Double]
    yData = new double [] {9, 1, 2, 6, 8, 3, 3, 6, 2, 2};

    scatterGraph1.PlotXY (xData, yData);

    xRange and yRange define the plot area limits left-top to bottom-right

    xRange = new range (xAxis1.Range.Minimum, xAxis1.Range.Maximum);

    yRange =
    new range (yAxis1.Range.Minimum, yAxis1.Range.Maximum);

    RecalculateImageBounds();

    }

    Simply map the data coordinates
    values in pixels

    posts from the top left and lower right must be mapped.

    Private Sub RecalculateImageBounds()

    {

    PointF
    size = scatterPlot1.MapDataPoint (scatterGraph1.PlotAreaBounds,
    (xRange.Maximum, yRange.Minimum);

    initialRectangle.Location =
    scatterPlot1.MapDataPoint (scatterGraph1.PlotAreaBounds, xRange.Minimum,
    yRange.Maximum);

    initialRectangle.Width = size. X - initialRectangle.Location.X;

    initialRectangle.Height = size. Y - initialRectangle.Location.Y;

    }

    Just draw the image.

    Private Sub scatterGraph1_BeforeDrawPlot (sender As object, BeforeDrawXYPlotEventArgs
    (e)

    {

    RecalculateImageBounds();

    e.Graphics.DrawImage (img, initialRectangle.X, initialRectangle.Y,
    (initialRectangle.Width, initialRectangle.Height);

    }

    Make sure that the image is of good quality so that you can zoom in pretty close.

    I hope this helps.

  • With the help of AMPA on non - WS Data Controls

    Hello community MAF .

    I'm developing an Application of MAF that consumes the REST API of WebCenter portal (which is based on the model of HATEOAS).

    I want to make powerful from scratch, including the following:

    -Offline mode (using the SQLite).

    -Persistence, of setting cache and synchronization using AMPA.

    Looks like it's not easier to apply directly on the REST API of WCP AMPA.

    The REST API of WCP is the result of a call of two steps:

    1) authenticate using BASIC authentication against http://Host/repos/api/resourceIndex for the utoken

    (2) use utoken as the URL parameter for the next call of REST for the specific service.

    I know that the Bus Service could be a possibility on the creation of a more simple REST on the WCP REST API, but is not an option right now because that is not easy to map.

    My questions are:

    (1) can we use AMPA on data controls in Java that will call internally to (DB in case of offline mode, REST by program in the case of online mode).

    (2) can define us manually in the persistenceMapping.xml?

    (3) is there anything else more easy to use wizards with HATEOAS base based Services?

    Thanks in advance

    Kind regards.

    Daniel,

    Why is it not service bus an option? You say 'not easy to map', but do the mapping in the MAF makes it not easier, it? the REST API of pressurization is not very easy to mobile, so this transformation to a more usable by using bus service API cost as a good idea for me. See also this article from the A-team.

    Answers to your questions:

    (1) Yes, this is the added value of nucleus of AMPA. You get a service generated the DTC Assistant classes, then you turn this class in a bean data control and use this data control bean for the construction of your user interface. The service class will access local DB and the service REMAINS remote. By default, AMPA will directly show the current data of the local DB, and then in the background call the REST service (online) and refresh the UI, once the REST call has been processed. But this behavior is very configurable and can be changed as you wish.

    (2) Yes, of course, you can manually create data objects, classes of service and persistence mappings, but the wizard is generally much faster.

    (3) HATEOAS logical not for the dynamics of UI where the next action is determined by a link returned in the payload. It is a different model from the static of the UI we build in general with MAF. What is your problem with the help of the wizard of the AMPA?

    Steven Davelaar,

    Oracle Mobile & Cloud A-team.

  • With the help of measures advances/variables to display a summary list

    I use Captivate 5 to develop a tool that guides people through an application process and indicates the probability of this request is successful or not.

    What I would like is to have a legend at the end that displays a summary list of the reasons for which the application could be delayed or declined.

    For example, one of the questions may be: have you ever traveled abroad?  The user then selects Yes or no.

    On the last slide, he needs to post a topic (for example, your application is likely to be delayed for the following reasons) and any other reasons that are taken into account that the user is working on throughout the process.

    At present, there are 13 questions, so 13 reasons possible.

    Is it possible to use variables and advanced actions to get these to display in a list?

    I assigned to a variable for each response and action that adds 1 to the variable, if the answer is chosen.  I thought then to add another variable, called reasons which would then post the grounds with the help of a tip action (eg. If variable = 1 to allocate patterns with a variable containing the text of the summary).

    It does not, because it will only display the last answer that triggered an action, not a list.

    I've also thought about using actions to show/hide captions, but I think that will make gaps appear in the list if some of the reasons do not appear.

    Someone at - it other suggestions that might work?

    Thanks in advance for any help you can give me.

    The possibility to display all variables in a text caption and to see if they had a value of 1, didn't work...

    Now, I think the only option is to display all the legends, an action to show or hide the options that don't apply, based on the responses throughout the questionnaire.  Variables and advanced actions do not seem to be able to be used in the way that I was hoping - in other words, the variables are displayed only if certain options are selected (as a summary on a web form page).

  • Problem with the change in value of listbox event

    Hello

    I have a problem with the help of Listbox value change event. The code that I have attached is a simplified version of the largest program, but the problem is the same. One of the loops of Nonna is responsible for handlig occurring events ant the other is responsible for the execution of the program. In the project of oryginal I use a listbox control to determine which plots graphic display of a waveform is visible (first position of the listbox-> only plot first visible etc.). In the attached vi, I just show the current value of the listbox control. The problem is the event runs only once and then the program crashes. I want to be able to change the value of the listbox work both at idle and in State of a program, but when I put the structure of the event in both States, he does not. I'd be very grateful if someone smarter than me could tell me where I made my mistake. I want my program to be able to manage the keys and listbox events in States (slow down and knit) program.

    You have two structures of event in two cases different from the structure of the case, and both are tuned to listbox events has changed. Because only once can be triggered at any time, the VI crashes (lock events the front panel (default) until the event can complement).

    You must use a unique event structure managing all events.

    The overall program architecture looks like inside-out for me.

    For the buttosn, you must use action lock (switch not release!) and use the value changed events.

  • With the help of modulated signal pulse width (square wave) to control when a signal is enabled or disable

    With the help of modulated signal pulse width (square wave) to control when a signal is enabled or disable

    Hello all

    I am using a modulated signal to labview created pulse width (square wave) to control when a signal is activated or not.

    Here is my logic and a concrete example:
    (1) the wave source signal is continuous
    (2) use a PWM (square wave) created in labview to control when the signal is enabled or disabled
    (3) if the PWM (amplitude) signal is superior to 0 play signal PWM is not greater than 0 do not play signal.

    I use actually this to the sequence step / pulse several distinct magnetic coils using my audio card (which has several channels of audio output), I have a signal in labview played constantly.  As to compare it to the PWM (square wave) which controls whether or not the signal is played on each separate channel.  That way I can control which coil is on and offshore and in what order they are activated.

    I couldn't find an edge detection for a square wave created in labview, so I tried the limits, but it doesn't seem to work unless I change the phase manually and it only goes 1-1.  I'm just trying to compare the PWM (edges of the square wave) already created by labview / play a signal if the pulse is greater than 0 and it shuts off the signal, if she is less than 0.

    Should I do this another way

    TIA

    A waveform contains an array of values. You must check every value and respond accordingly:

  • With the help of semaphore with a Global Variable - correct use?

    Hi all

    I looked in the use of global variables and in my case, it seemed with the help of a semaphore is the appropriate solution.

    In my case, I use a global variable to store the State of the system. Asynchronous two with screw environment (same VI) will follow two COM ports to see if they get a ' login:' command prompt. If the COM port is associated with Alpha, Charlie, or Echo, it increments by 1, and if it is associated with the Bravo, Delta, or Foxtrot, is incremented by 2 GV. If the GV is 3, the rest of the code will run. In this case, it must be a port COM A, C or E; the other should be B, D or F.

    A VI parent is called inside a loop. He works for the first loop. He never adds up to 3 on the second loop, however. I can't understand why. Please let me know if my code is a poor use of semaphores, or if there is debugging I can try.

    I'm still relatively new to LV, so I'm sorry if my screws are difficult to read. I created this in LV2011.

    Thanks for any help!

    CelerityEDS wrote:

    The output of my time looping (wait GV = 3) goes to the structure of the case on the bottom right (clear SGS, PasswordEntry, etc.), so the GV get indeed consulted by the upper case structure right.

    ??

    Your right upper case structure does not run until your time ends in a loop.  The while loop does not stop until the total is equal to 3.  Where can increment you the world besides structures case you cannot yet?

    Have you tried in your point culminating execution of the VI in order to see how they are actually running?

    Another problem that I see.  Assuming that your first while the loop is going to end.  In the structures of your case, you lock the semaphore.  But you can never unlock the semaphore unless you have the right combination of conditions that allow you to get to the case that unlocks the semaphore.  The conditions are based on data that are read before the start of the case of structure, which means that data will not be read and changed until it all ends.  You have the timeout of your lock semaphore connected on one of the cases, but your semaphore lock can never timeout because you do not have a value on his entry time-out.  I think you have a situation where you can lock a semaphore, then arrive at a situation where you can not unlock, then wind locking up of your cold code.

    I don't really think that you need a semaphore at all.  I think you can protect reading and writing functional your overall using a global variable, i.e. the motor action.  Overall, I think you need to rethink the architecture of your code.

  • With the help of an operating system older Compaq is professional Windows. Internet Explorer connected very slowly. .

    With the help of an operating system older Compaq is professional Windows. Internet Explorer connected very slowly. SO I've reworded in safe mode with network and IE has worked very well. I installed Mozilla Firefox and then restarted in normal mode. Then Internet explorer would not connect. How to diagnose in safe mode. What does safe mode or safe mode with network do to help diagnose? Can someone help me solve this problem? Any help would be appreciated thanks in advance.

    Hi, Raymond J,.

    ·         Did you do changes on the computer before the show?

    ·         You get the error message?

    ·         What type of internet connection do you use?

    ·         What security software do you use?

    Follow these methods.

    Method 1: As the problem does not persist in SafeMode with network, perform a clean boot to see if there is a software conflict as the clean boot helps eliminate software conflicts.

    Note: After completing the steps in the clean boot troubleshooting, follow the section How to configure Windows to use a Normal startup state of the link to return the computer to a Normal startupmode.

    After the clean boot used to resolve the problem, you can follow these steps to configure Windows XP to start normally.

    (a) click Start, run.

    (b) type msconfigand click OK.

    (c) the System Configuration Utility dialog box appears.

    (d) click the general tab, click Normal startup - load all services and device drivers and then click OK.

    (e) when you are prompted, click restart to restart the computer.

    Method 2: Follow the steps in the article.

    How to troubleshoot possible causes of Internet connection problems in Windows XP

    How to reset the Protocol Internet (TCP/IP)

Maybe you are looking for

  • memory card reader does not

    Compaq Presaro CQ3000 model series CQ3420AN memory card reader does not read SD cards. Where can I find download original driver.

  • Can't see category IVI in MAX

    Hi all I had a problem with MAX and IVI I installed IVI Compliance Package 3.3 and I can see the 'Software' section I have MAX, but I do not see the IVI category in MAX.What can be wrong? I tried to repair my installation with no result.I also got th

  • Microsoft did update on 15/04/11 - now my taskbar disappeared

    MS made updates on 4/15 in the afternoon.  4/18, I came back to work - no taskbar, my printers that were loaded were missing & I can't reinstall; Unable to connect to my email (internet works fine and inputs & outputs tests on email (Outlook) says th

  • Impossible to uninstall Microsoft #2 miniport card

    I have a computer that is running Windows XP. I can't connect to the internet from my desktop computer.   My laptop connects via the same DSL modum directly or wireless.  When I open design under network adapters on the desk top manager it shows card

  • Office 2007 SP1 installation fails - corrupted Installation database

    When I tried to install Office 2007 SP1 on Vista PC - installation fails because of the corrupted installation database.  What can I do to solve this problem and install SP1 for office 2007. Help, please THX