How Can I Increment a Counter on a Master Page?

I am working on a very complex form and have hit the proverbial wall. I have uploaded the file to the URL below and am seeking assistance in finalizing the form.
Here is the URL for the file.   https://workspaces.acrobat.com/?d=66B5k8981-WUNHJB1epZXg
There are three challenges that remain.  When I click on the "Click to Add Service Location" button on the bottom of page 2:
I need to add an instance of "Service_Location_Page" on the following page.  Currently, it is adding it prior to the page I just completed.
I need the value of "Service_Address_Type" on page 2 to change from the default value of "Primary" to "Secondary" on the new instance of "Service_Location_Page" and all subsequent instances.
I need the "Service_Locaton" counter at the top of page 2 to increment by +1 for each new instance of "Service_Location_Page".
Any suggestions for refinements will be greatly appreciated.
Anokie1

Hi,
I don't see a problem with the first point in your request.
For the second and third on you only need to add one script to the indexChange event of "Service_Location_Page".
Provider_Data_Intake_Form.Service_Location_Page::indexChange - (FormCalc, client)
if ($.index > 0) then
          Service_Locations.Service_Location.Service_Location_Header.Service_Address_Type = "Secondary"
else
          Service_Locations.Service_Location.Service_Location_Header.Service_Address_Type = "Primary"
endif
Service_Locations.Service_Location.Service_Location_Header.Service_Location = $.index + 1

Similar Messages

  • How can I retain my counter button after editing page?

    How can I retain the numberon my counter button after I have change information on my welcome page?

    Since MobileMe will be discontinued on June 12, 2012, and with it the following features:
    Features Unavailable When Publishing to a Non-Mac Server:
    ◼ Password protection
    ◼ Blog and photo comments
    ◼ Blog search
    ◼ Hit counter
    ◼ RSS Feed Widget
    you might get ahead of the curve and use a 3rd party counter.  There are many counters that will give you much more than just the number of visitors and can be setup to not count your visits. I use  StatCounter which gives the following info on visitors:
    Click to view full size
    This tutorial describes how to add the counter using an HTML snippet: #13 - Adding a StatCounter as an HTML Snippet. 
    OT

  • How can I add web counter into my Muse page?

    Normally with Dreamweaver I added the right code right before the end of body tag. How can I solve this problem with Muse?

    Hi,
    If you have the code for the web counter, you can add it to your Muse site using Insert HTML feature.
    Regards,
    Aish

  • How can I link text boxes between different Master Pages in InDesign?

    I want to link text boxes back and forth between different Master Pages in InDesign. How can I do this?

    I'm interested to know what it is you're trying to achieve - can you explain what you want your text to do?
    Regards,
    Malcolm

  • How can I get record count with a query?

    In Client/Server pplication,the client send a query to server.
    How can server get record count by oracle call interface?
    Is it need execute "select count(*) from ...."?

    Yes.
    Either that or increment a counter for each record fetched and
    loop round until you hit the last record.
    The first method would be more efficient on large datasets.

  • How can I get a count at the same time I am inserting into another table

    I have a requirement where I have to find out the count(number of records inserted into another table) at the same time I insert into the table:
    Like
    I am copying records from table B to A, while doing this I have to find out how many records I've inserted since I need this count in subsequent steps
    INSERT INTO A
    SELECT * FROM B
    how can I store the count into any variable while doing above statement
    Please advice

    No, Warren that doesn't work!
    SQL> set serveroutput on
    SQL> declare
      2     vCtr  number := 0;
      3  begin
      4     insert into emp2
      5     select * from emp;
      6
      7     select count(*)
      8       into vCtr
      9       from emp2;
    10
    11     dbms_output.put_line('rows created '||to_char(vCtr));
    12  end;
    13  /
    rows created 15
    PL/SQL procedure successfully completed.
    SQL> declare
      2     vCtr  number := 0;
      3  begin
      4     insert into emp2
      5     select * from emp;
      6
      7     select count(*)
      8       into vCtr
      9       from emp2;
    10
    11     dbms_output.put_line('rows created '||to_char(vCtr));
    12  end;
    13  /
    rows created 30
    PL/SQL procedure successfully completed.
    SQL>

  • How can I get a count of objects in the near cache? (Extend client)

    Hi,
    I'm trying to figure out how to get the count of objects in my near cache (from c++ client). Knowing the size of the near cache is a key factor when optimizing configurations for performance.
    However if I call size() on the cache handle I get the count of objects in the cache (ie the cluster). How can I get a count of objects in the near cache?
    Thanks
    Rich Carless

    H Rich,
    It may not be ideal, but I think you may be able to infer the size by using the HeapAnalyzer (http://download.oracle.com/docs/cd/E15357_01/coh.360/e15728/classcoherence_1_1lang_1_1_heap_analyzer.html) facility, specifically the "class" based HeapAnalyzer. Its Snapshot representation http://download.oracle.com/docs/cd/E15357_01/coh.360/e15728/classcoherence_1_1lang_1_1_class_based_heap_analyzer_1_1_snapshot.html provides a mapping between class name and ClassStats (http://download.oracle.com/docs/cd/E15357_01/coh.360/e15728/classcoherence_1_1lang_1_1_class_based_heap_analyzer_1_1_class_stats.html) which provides information on how many instances of a given class type are in memory. Note the reported counts are process wide but if your key or value type are distinct you may be able to infer your answer. I realize this is rather complex, my only other suggestion would be to just make some guesses on size and see how they effect performance.
    Mark
    Oracle Coherence

  • Using Mountain Lion (OS 10.8), in Contacts, how can I show a count of number of contacts total and/or number of contacts in a group?

    Using Mountain Lion (OS 10.8), in Contacts, how can I show a count of number of contacts total and/or number of contacts in a group?

    If you scroll the list to the bottom, there might be a count. I haven't figured out why you sometimes get a count and other times you don't.

  • How can I eliminate my count

    I had an iPhone5S and an iPod5, someone stoled them so I wanna know how can I eliminate mi count, and if I could lock this gadgets

    Change your password at http://iforgot.apple.com. You can remote lock your devices if you enabled Find my iPhone on those devices. If so, go to http://icloud.com/find to take action.

  • How can I use word count without it counting the words in the end notes by default?

    How can I use word count without it counting the words in the end?
    Now I have to highlight the text to get a count.

    I don't think that is possible, it does what it does.
    Peter

  • How can I change the counter symbols for the slideshow templates in Muse?

    How can I change the counter symbols for the slideshow templates in Muse? Currently they are obviously normal text characters. So, how can I change them to filled circles, for example?

    Hi Aish,
    Thank you very much. This was very helpful. I am still new to Muse and try to find my way through all the features and possibilities. I like it very much so far.
    Does Muse support ‘liquid” design as well?
    Thank you !
    Best regards,
    Fred

  • How can I do a dynamic include of a page fragment?

    I have a technical support website with a lot of simple html pages. What I want to do is hyperlink from the index page to another page, which would display these html pages as a page fragment, dynamically based on a session bean set by the hyperlink.
    I basically want to do this, if it was possible:
    <jsp:directive.include file="#{SessionBean1.pageToDisplay}"/>
    Now the FAQ's has a topic "How can I do a dynamic include of a page fragment?", which would seem to answer my question.
    But this is all it says, and it makes no sense to me. Could someone please translate? :)
    "Using a page fragment file (but using instead of the usual Creator approach) will accomplish a dynamic include."

    Here is 1 solution:
    First add this to the jsp:root tag:
    xmlns:c="http://java.sun.com/jsp/jstl/core"
    Then surround the page fragment directive with something like this:
                            <div style="position: absolute; left: 24px; top: 408px">
                                <c:if test="${SessionBean1.count > 0}">
                                    <jsp:directive.include file="testPF.jspf"/>
                                </c:if>
                            </div>

  • How can I print just a part of the page and not the full page with Adobe Reader v 10.1.2?

    how can I print just a part of the page and not the full page with Adobe Reader v 10.1.2? I need to print a engineering print with lot of information but information is too small in letter size and I don't have a plotter.

    Two ways to print a portion of a page: zooming or using the Snapshot Tool.
    ZOOMING:
    Zoom into the area you want to print.
    Click the Print icon.
    Under "Pages to Print", make sure "Current view" is selected under "More options" (you may need to click "More options" to open it).
    If you aren't satisfied with the preview, try clicking "Fit" under the Size button.
    SNAPSHOT
    Choose Edit > Take A Snapshot.
    Drag a rectangle around the area you want to print. 
    Click the Print icon.
    Under "Pages to Print", make sure that "Selected Graphic" is selected under "More options".
    To enlarge the snapshot to fit the sheet of paper, choose "Fit" under the Size button.
    Hope this helps!

  • How can I make a backup of my iWeb page, How can I make a backup of my iWeb page

    How can I make a backup of my iWeb page? Is iWeb also disappearing on June 30?

    Here are some Apple help sheets about backing up your files:
    http://support.apple.com/kb/HT1813
    http://support.apple.com/kb/HT1105
    And I found this one written by an independant guy very thorough and helpful:
    http://iwebfaq.org/site/iWeb_Backup_retrieve.html
    iWeb is not going away, but I would be skeptical about how much longer Apple keeps it around. 
    If you are looking for a new place to host your website, I use and would recommend Little Oak (www.littleoak.net).  They are a Mac hosting company, and are even offering a discount right now for iWeb users (http://www.thewhir.com/web-hosting-news/web-hosting-sales-and-promos-roundup-jun e-29-2012)

  • How can I wrap text in a pie in pages?

    How can I wrap text in a pie in pages?

    If you need to insert text into a shape like a pie wedge, the easiest way might be to simply use the shape - freeform tool (at the bottom of the shape menu) and create a shape and type your text in it then place the shape over your pie wedge. The text within the shape should wrap - additional controls for text can be used with the Text Inspector.
    You can edit the actual shape with Format Object > Make Shape Editable option but unfortunately, you have an option to make straight or smooth curves, but not both, so you'll need to shape the object using smooth curves and use the the bezier controls that appear as you select a control point.

Maybe you are looking for

  • More than one iphone on the same itunes

    New to this so bare with me for the more than likely stupid questions. Can two iphones be synced to the same itunes with no problem? To do so two different apple id's are needed right? What are the pros and cons of doing so other than just having one

  • Multiple account for 2 devices

    My boyfriend just got an iPhone 4S yesterday, and I set him up an iTunes account.  However this is all being done on my computer, since he doesn't have one.  How can I download songs to his iPhone from CD's on my computer so they will go directly to

  • Prepositioning in WAAS 4.1.1c

    I am having trouble with this atm. I have setup a test share on a remote server,with permissions etc and configured the relevant fields on WAAS GUI under -"File Services,Preposition". I can broswe and find the directory and schedule the job to run. T

  • Remove Posting Period

    Hi, all Period 2011 wrongly created as year and no transaction for 2011. When I remove 2011period, system msg prompted: Cannot be removed. Transaction are linked to an object, '2011'. I checked journal entry report again to confirm no entry was enter

  • Tax scenario in EU Sales

    Hi, I have this question regarding a specific sales scenario in EU. Hope to get some input from whoever that is familiar with it Scenario: 1. There's a sales (sales org and delivering plant in EU) that involves payer A, who is a non-EU company; and i