Hide/Show Issue (Captivate 4)

Hi Folks,
Hoping you can help me out...
I am trying to attach hide/show functionality to multiple objects on a slide so when the user clicks a button, the object hides (or shows).
For example: Button A on click Hides Object A; Button B on click Hides Object B.
The functionality works (the first time); however, upon subsequent plays, when the user clicks the second button the second object hides BUT, the project advances to the next slide. I also have tried adding a click box with "pause until user clicks" on the screen to keep the project on that slide, but to no avail!
As I mentioned, the expected functionality works when first played (in the swf AND browser), but it seems like it's pulling from the cache or something on subsequent plays and ignores any properties (pause, etc) attached to any objects on the slide.
Does anyone have any thoughts as to why this is happening and have any suggestions?
Thanks so much in advance.

Hi Jay
No problem. It was just a bit of musing on my part.
Perhaps it will help to explain it a bit.
A Rollover Slidelet and a Button are similar in that you may click to carry out an action. In the case of the Button, you click and visit a different slide. That's basically the same as displaying the slidelet, but you aren't leaving the slide you are on. So the files you sent me are essentially doing that. You click, a different slide is visited, then a click brings you back to the original slide with the other buttons.
I'm a bit confused with the sample you sent (Sample1.cp) as you have a Click Box layered over a Button. You seem to have configured both the Button and the Click Box with the same action. So I'm wondering why you have the Click Box? The Button alone should be sufficient to accomplish your goal.
So you have four buttons on Slide 1. No problem. You have four images on Slide 1. You want all the images hidden until the buttons have been clicked. Looks like you have that part down. All you seem to be having issues with are making the final button appear that transports the user to Slide 6.
What you need is a variable that keeps track of whether the intended slides have been visited. You seem to have this figured out as well. I'm a bit confused as you seem to have created eight variables instead of only four. Perhaps you were simply experimenting.
You need a fifth variable to use as an indication that the fifth button should be revealed. You need actions to check and set these variables. You need at least four actions configured. Each of the four actions will do this:
Set the associated variable to one.
Add the four variables together.
Perform a check using an If statement. If the fifth variable is equal to four (meaning all required buttons have been clicked and presumably all desired slides have been viewed, show the fifth button.
Reposition the playhead at the first slide. (Or the slide with all the buttons if it's not the first)
Perhaps a visual will help:
Each action is assigned to its respective button. OR, you could have the slide exit action for each of the segments perform the action.
Good luck in getting it sorted... Rick
Helpful and Handy Links
Captivate Wish Form/Bug Reporting Form
Adobe Certified Captivate Training
SorcerStone Blog
Captivate eBooks

Similar Messages

  • How do I create a toggle (hide/show) button in Captivate 5?

    What is the best method to create a button that will hide / show a particular caption? I looked into using an advanced action, but have not been successful in indicating the correct variable / control statement to make it work.
    Anyone have a button with this purpose developed already? I would love to be able to copy/paste it into into my piece and just change the names to make it work?
    (How lovely that would be!!!:)
    Thanks in advance!
    -Kate (cgoebelx)

    Hello Lilybiri,
    Thank you for responding and yes, I believe this is exactly what I'm trying to accomplish!
    Since it is the first time I’ve ever had to use the Advanced Actions in Captivate before, I’m having an issue re-creating the screen shots you sent me verbatim. Here is how far I was able to get before I noticed that the v_visib “if” statement is not “selectable” in the “else” piece of the statement.
    Do I need to “save” the “if expression” before I’m able to select it as a variable in the “else section”?
    Thank you for all of you assistance, it is MUCH appreciated!
    Sincerely,
    Kate (cgoebelx)

  • Adding logic to the hide/show

    Hi Guys
    I am pretty new at this so please excuse my ignorance. I have added hide/show regions into a cell of an advanced table. In the VO I also coded in the boolean decode.
    So now when I run my page I get the the following: where there is details for the cell the cell is in Hide status, when the details are null its in show status.
    The decode is as follows: decode(contact_details.contact_name,Null,'0','1'). The attribute is set to Boolean.
    My issue is when I click on the hide/show link on the page it does not "work". ie: if I click on the show status it does not toggle to hide status and visa versa.
    Am I meant to add logic to the controller?
    Thanks

    Is your page embedded in a workflow page or notification? If so, then you cann't have hide/show action rather any action on your page as per workflow standards. They require you to embed a region and not a page.
    --Shiv                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Hide / Show region template - how to make it stay visible after NEXT& PREV?

    Hello,
    I am using the Hide / Show region template (by the way great idea to create this template ;)
    By default the region is hidden. If i want to see the region content (it is a report) I click on that icon and it becomes visible. For my report I use the pagination "ROW Ranges X to Y of Z (with pagination)".
    The issue is that if I click NEXT of Previous, the region is closing (hidding).. and in order to see the next / previous page of my report I have to re-open it..
    Is there any known workaround for this?
    Thank you in advance
    Anca

    I would start at Re: Toggle all hide show regions on a page open/closed
    It references the using javascript to manipulate your hide/show regions. It should get you started in the right direction. It is about the most straight-forward example I have seen for what you are trying to do<br><br>
    You could trigger the javascript after your page is rendered by calling it from the page footer and reference the values of page items to determine if you are supposed to hide the region(s).<br>
    Create a page item called P88_HIDESHOW_REGION1 and set it's value to Y or N depending on whether the #REQUEST# has a string in it that is part of report pagination. If you hover over a "next page" button in a report, check out the resulting URL that pops up in your browser.....it looks like ..../f?p=900:210:8352027355600111016:pg_R_241403738845262873:NO&pg_min_row=31&pg_max_rows=30&pg_rows_fetched=30
    <br>
    You could do an instr(:REQUEST,'pg_R_') > 0 then set P88_HIDESHOW_REGION1 = 'Y' else P88_HIDESHOW_REGION1 = 'N'. Your javascript called at the footer of the page could set the display of the region to on or off depending on the result of P88_HIDESHOW_REGION1

  • Hide/Show Create button on a report/form page

    Hi, I included one form and the related report on one page.
    When I create a new record, it will show in the report below.
    I make the ID column as the link, which assign the ID to the ID item in the form. DML will do the rest work for display.
    However I got a issue. when I click the edit button for one row, the create button doesn't disappear. Although it has a condition of "VALUE OF ITEM IS NULL". I un-hidden the ID item and it do have value when I edit some row.
    Is this because of some refreshing reason or...?
    Your help will be great appreciated.
    Edited by: Gadfly on 2009-3-16 下午8:02

    BTW, this hide/show pattern of 'KEY VALUE is null' works well when I use two pages(one form and one report.)

  • Javascript help - Hide/Show a page item

    Environment:
    APEX 3.1.00.09 running on AIX 5.3
    Sample application on apex.oracle.com:
    Workspace: GALWAY
    UserID: gwicke
    Password: gwicke
    To see where my issues are:
    1- Start on page 3
    2- In the Agency drop down select 'J & B Marketing'
    3- In the Contract drop down select the only contract that appears
    4- Click on 'Edit Existing Contract'
    5- Note the page item 'LY Closings' has the value 261
    6- Click on the link (really a tab in my theme) at the top labeled 'Cost Detail'
    7- The 'Estimate Justification' is the page item to be displayed/hidden as noted below.
    8- The 'Homes Per Year' under the 'YEAR1' column is the user input page item
    9- The P2_BUILDER_CLOSINGS (value 261 noted above) is the page item to be used in the comparison
    I need to do a couple of things with a potentially hidden page item:
    1- Every time the page loads I need to check to see if the page item (P8_ESTIMATE_JUSTIFICATION) is not null and if it is indeed not null, make it displayed.
    2- When the user enters a value in another page item (P8_HOMES_PER_YEAR1), call a function to see if that value is more than 120% of another page item (P2_BUILDER_CLOSINGS) and if so make the above page item displayed (P8_ESTIMATE_JUSTIFICATION).
    I have the javascript function created (showHideEstimateJustification) and in the HTML Header of the page. The function is being called currently with an onChange check on the page item entered by the user as noted above (P8_HOMES_PER_YEAR1).
    Issues:
    1- I need to force a SUBMIT after the user enters the value for P8_HOMES_PER_YEAR1 so it is available in session state and hence to the javascript function (other ideas welcome!)
    2- I am currently using the x.style.display = 'inline' versus 'none' to hide/show the page item, where x is derived from var x = document.getElementById(P8_ESTIMATE_JUSTIFICATION) Is there a better way????
    Any help is greatly appreciated.
    -gary (a.k.a. Javascript newbie)

    Hi,
    Only your messages use the session state. The code would use the entered value, but you would need to change:
    var homes = parseInt(document.getElementById('P8_HOMES_PER_YEAR1'));to
    var homes = parseInt(document.getElementById('P8_HOMES_PER_YEAR1').value);so that "homes" becomes the numeric version of the value of the item
    Normally, for the label, you would just enter an ID="xxx" into the HTML Table Cell Attributes for the label which you can then use in your javascript. For some reason this doesn't seem to want to work in this page.
    What you could do is find all the labels and then check which is the right one before showing/hiding it. Something along the lines of:
    var xx = document.getElementsByTagName("LABEL");
    var zz;
    var label;
    for (zz = 0; zz < xx.length; zz++)
    if (xx[zz].htmlFor == 'P8_ESTIMATE_JUSTIFICTION")
      label = xx[zz];
    xx[zz].style.display = 'none';
    {code}
    Andy                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • How to keep display as Show when using Hide Show region with pagination?

    We are trying to use a 'Hide Show' region with pagination. The problem is that if you 'Show' (ie expand) the region and then hit the link for the next page, the next page displays Hidden (ie collapsed). We want to keep the page display as 'show' when you move to the next set of records.
    There is a fix in this forum for this issue in version 2.2 (Application Express) but we are on 2.0.0.00.49 (HTML DB). Does anyone know of a similar fix for HTML DB 2?
    Ver 2.2 fix is at:
    http://www.oracle.com/technology/products/database/application_express/packaged_apps/packaged_apps.html#STICKY
    Thanks.
    David.

    Thanks for your reply.
    Running the application install script via SQL Plus using FLOWS_020000 produces result:
    NOT COMPATIBLE (Your export may contain calls not supported by your HTMLDB version.)
    The wwv_flow_api package routines that are not available in our version appear to be:
    create_or_remove_file
    create_install
    create_install_script
    Is there any way to handle these calls in other ways?
    Thanks
    David.

  • Can we Hide/Show the Mouse with an Action or a Script?

    Hello All,
    I am developing a simulation using click boxes in Captivate 4, on Windows XP. If the user doesn't click the right place, the slide continues, and shows the user what to do. If the user clicks the correct place, the simulation goes to the next slide directly. The problem is, successful or not, when the user goes to the next slide, the recorded mouse pointer displays on the slide. If I hide the mouse, then it remains hidden even if the user clicks outside the box too many times and the simulation continues, to show the user what to do. It's as if things on the screen just select or click themselves.
    I know mouse visibility is treated differently in the timeline than other objects. That's not a particularly big deal, so long as there is some way to control the mouse visibility for simulations (one of Captivate's big selling points). Is there a way to control the mouse visibility with an Action or with Script?
    The current settings for my click boxes are:
    I tried to assign an Action (multiple actions, really) to hide, show, enable, or disable the mouse but the mouse doesn't seem to be available to do so!
    Am I missing something?
    Thanks,
    ~jeff

    Hi there
    Nope, the mouse is an all or nothing object. It's either visible or not and it's your choice as to what you show. No way I'm aware of to programmatically display it. All I might suggest is that if you want to show the user the mouse moving, duplicate the slide so that if they fail to click the right area, the duplicated slide has the mouse moving to demonstrate.
    Oh, and consider submitting a Wish Form to ask for the capability in some future version of Captivate.
    Cheers... Rick
    Helpful and Handy Links
    Captivate Wish Form/Bug Reporting Form
    Adobe Certified Captivate Training
    SorcerStone Blog
    Captivate eBooks

  • Hide/show with NO TEMPLATE regions... and htmldb_ToggleWithImage Q

    Hi, everybody.
    Q : Is it possible to make NO TEMPLATE regions work like Hide/Show regions?
    (http://htmldb.oracle.com/pls/otn/f?p=17109:5:1474490190980004:::::)
    Thnks.
    Message was edited by:
    mishkar

    Actually i already solved this issue. If U R interesting Y do V need this, look here
    http://htmldb.oracle.com/pls/otn/f?p=17109:5:1840045891588230::NO
    (Hide/Show tab)
    U will C what kind of disign V R using (regions without templates)
    So, it works fune ... in here. In our working environment it is not working. It doesn't give any errors. It just doing NOTHING when clicking on the box. I believe it is this line that doesn't work onclick="htmldb_ToggleWithImage(this,'left_region')".
    So the Q is : what is "htmldb_ToggleWithImage", and where to look for it. Somewhere on the forum i found that this is a java script. So, does it live in UNIX (operating system)? How to find it? And what can be wrong with it?....
    Thnks a lot.
    Mike

  • Hide/Show Dynamic Action Stopped Working

    Good Morning,
    Once I upgraded my application to Apex 4.2.2, my dynamic action stopped working. It worked fine in 4.1.
    I also used javascript to hide/show my fields.
    code below
    <script language="JavaScript" type="text/javascript">
    function onPgLoad()
    //hides reporting select, unless certain utcs are selected they are selected
      var ForceGenUTCSrch = $v('P310_FORCE_GEN_UTC_SRCH');
      var RptMenu         = $v('P310_REPORT_MENU');
    if  (RptMenu == '1'&&(ForceGenUTCSrch == '0GTAA' || ForceGenUTCSrch == '8MMUB' || ForceGenUTCSrch == 'CCMAR' || ForceGenUTCSrch == '0GQGC' || ForceGenUTCSrch == '0GQGB' || ForceGenUTCSrch =='3NNNA' || ForceGenUTCSrch == '3PQAA' || ForceGenUTCSrch == 'XMCAS' || ForceGenUTCSrch == '8NJAA' || ForceGenUTCSrch == 'XMMCB' || ForceGenUTCSrch == '9VCBH' || ForceGenUTCSrch == '3PNAA' || ForceGenUTCSrch == '3PLFA' || ForceGenUTCSrch == '3PMAA' || ForceGenUTCSrch == '3NSAA' || ForceGenUTCSrch == '8NHAA' || ForceGenUTCSrch == 'CBSAD' || ForceGenUTCSrch == 'CCVAA' || ForceGenUTCSrch == '9VDLB' || ForceGenUTCSrch == '3NHAA' || ForceGenUTCSrch=='1HDAA' || ForceGenUTCSrch=='0EZ99' || ForceGenUTCSrch=='0JZ99' || ForceGenUTCSrch=='1AZ99'|| ForceGenUTCSrch=='9YZ99' || ForceGenUTCSrch=='CUZ99'))
        var get = new htmldb_Get(null,null,'APPLICATION_PROCESS=PROC_UTC_RPRTG_ORG',0);
       gReturn=get.get();
        $x_ShowItemRow('P310_FORCE_GEN_RPRTG_ORGN');
       else
         $x_HideItemRow('P310_FORCE_GEN_RPRTG_ORGN');
    </script>
    <script language="JavaScript" type="text/javascript">
    function FunSelUTC()
    //hides reporting select, unless certain utcs are selected they are selected
      var ForceGenUTCSrch = $v('P310_FORCE_GEN_UTC_SRCH');
      var RptMenu         = $v('P310_REPORT_MENU');
    alert(RptMenu);
    if  (RptMenu == '1'&&(ForceGenUTCSrch == '0GTAA' || ForceGenUTCSrch == '8MMUB'|| ForceGenUTCSrch == 'CCMAR' || ForceGenUTCSrch == '0GQGC' || ForceGenUTCSrch == '0GQGB' || ForceGenUTCSrch =='3NNNA' || ForceGenUTCSrch == '3PQAA' || ForceGenUTCSrch == 'XMCAS' || ForceGenUTCSrch == '8NJAA' || ForceGenUTCSrch == 'XMMCB' || ForceGenUTCSrch == '9VCBH' || ForceGenUTCSrch == '3PNAA' || ForceGenUTCSrch == '3PLFA' || ForceGenUTCSrch == '3PMAA' || ForceGenUTCSrch == '3NSAA' || ForceGenUTCSrch == '8NHAA' || ForceGenUTCSrch == 'CBSAD' || ForceGenUTCSrch == 'CCVAA' || ForceGenUTCSrch == '9VDLB' || ForceGenUTCSrch == '3NHAA' || ForceGenUTCSrch=='1HDAA' || ForceGenUTCSrch=='0EZ99' || ForceGenUTCSrch=='0JZ99' || ForceGenUTCSrch=='1AZ99' || ForceGenUTCSrch=='9YZ99' || ForceGenUTCSrch=='CUZ99'))
         //alert(ForceGenUTCSrch);
        var get = new htmldb_Get(null,null,'APPLICATION_PROCESS=PROC_UTC_RPRTG_ORG',0);
       gReturn=get.get();
         $x_ShowItemRow('P310_FORCE_GEN_RPRTG_ORGN');
       //  $('#FORCE_GEN_REPORT1#').show();
       else
         //alert(ForceGenUTCSrch);
         $x_HideItemRow('P310_FORCE_GEN_RPRTG_ORGN');
        // $('#FORCE_GEN_REPORT1#').hide();
    </script>
    javascript: onload="onPgLoad();"I kept the code just in case I needed it @ a later time.
    My Dynamic Action
    Event: on change
    item --> :p310_force_gen_utc_srch (this is a select list that submits)
    conditon --> in list
    value --> '0GTAA', '8MMUB', 'CCMAR', '0GQGC', '0GQGB', '3NNNA', '3PQAA', 'XMCAS', '8NJAA', 'XMMCB', '9VCBH', '3PNAA'
    True Action --> show :p310_force_gen_rprtg_orgn
    False Action --> hide :p310_force_gen_rprtg_orgn
    They both fire on page load.
    The :p319_utc_srch has submits the page because the :p310_force_gen_rprtg_orgn lov runs a query to pull back that units reporting orgs only.
    Please help me figure this out.
    Thanks,
    Mary
    Edited by: MaryM on May 10, 2013 10:52 AM

    Hi Mary,
    So you changed from the code presented to a DA ? I'm not clear as to exactly happens or doesn't happen.
    Do you know if your AJAX calls are failing?
    If you use a Console like the one on Firebug or Chrome you can inspect what's being send and what's being returned.
    I mention this because your htmldb_Get calls looks suspicious.
    var get = new htmldb_Get(null,null,'APPLICATION_PROCESS=PROC_UTC_RPRTG_ORG',0);I would change it to
    var get = new htmldb_Get(null,$v('pFlowId'),'APPLICATION_PROCESS=PROC_UTC_RPRTG_ORG',$v('pFlowStepId'));That would pass the app_id and the page_id that is calling. Although this is probably not your current issue.
    See if you can find some javascript error. It's possible that this is a timing problem as to when the code is defined and when it's loaded.
    Thanks
    -Jorge

  • APEX Hide/Show Keep Expanded or Collapsed Upon Form Submit

    Hello all,
    I have a hide/show region that I'd like to keep expanded after clicking expand, entering something in a search entry box and clicking "Go". When the page refreshes, with the report results, I'd like the hide/show region to remain expanded. And I don't want it to collapse unless the user explicitly collapses it.
    I tried working with Carl Backstrom's Sticky Hide/Show code but I'm afraid that
    A) It seems to have been designed to work well with multiple pages (which I'm not necessarily trying to do ... I've only got one page I'm working with in this instance), and
    B) Template 20 (the one I am working with) seems to be somewhat (very?) different from Template 18 (the last template I see that Carl provided example edits for).
    So ... has anyone else tried this? Or is there a website or blog entry or forum thread I could look at that would provide me with the starting point for the direction I'd like to go with this?
    Any information or advice you can provide would be most appreciated.
    Kind regards,
    Melanie

    I have the same issue - did you ever come up with a solution?
    Thanks, Stephen

  • Hide Show, Programmatically in Seeded page.

    Hi All,
    I have to add one hide show region in a standard page advance table region. The following are the steps i followed.
    Created one custom region for the detail Region.
    Created the custom VO for detail region.
    Created a vie link between the seeded VO and custom VO
    Imported this custom region
    Extended and substituted the base page VO to add one more column for the hide/show.
    Extending the controller i applied the detail Region to the base page Table using setDetail method.
    When i run the page, Its showing the hide/show column and also the detail region - but its throwing the error View object not found ( Custom VO for custom detail region) and showing no search conducted in detail table. Since the Application module of the page is Root Application Module, i cant extend it. So i cant substitute the AM.
    Is the approach i am trying to follow is correct?? Any help/suggestion will be highly appreciated.
    Regards,
    Ram

    Urgent Issue... ..
    Any help Please..

  • How to hide/show chart at runtime

    Hi All,
    Can anyone help me in how to Hide/Show a chart at runtime.
    Thanks & Regards
    K.Srinivas

    Hi
    THere is simple way of doing it. Follow the steps below -
    1. Create 'Radio Button' in another form.
    2. Create 2 buttons in it e.g - 1=Show & 2=Hide.
    3. THen there is option as 'Visibility Condition' on Chart 'Properties'.
    4. Write condition as - IF('Form Tech name'@ST1=="1",true,false)
    here ST1 is tech name of the radio button you can select it in formula option.
    5. Then make 1 or 2 as default value.
    You can change radio button at run time & you can show or hide the chart.
    Let me know if you have any issue.
    Regards
    Sandeep

  • Copy & Paste Hide/Show Rules

    For FormsCentral:
    Can I copy and paste fields that have Hide/Show rules, and keep the rules? I can copy and paste the fields, but the rules disappear. How do I keep the rules?

    I agree Christian.  I have spent countless hours copying the same rule sets over and over and over again, as it is currently impossible to simply copy a rule set.
    You would think that anybody that actually used the program would encounter this problem, and it would be added by now.  It is pretty much a no brainer that users do not want to copy rules over and over again.
    For instance, I have a client that is only in 3 states.  So i have to create a rule for "Property State" IS NOT, and list all other 47 states. (Because I am cross referencing with transaction type and business segment, and they don't allow you to use IS unless there is only one choice...weak, but another issue all together)
    Now I have another client with the same state scenario, and have to do it all again.... thanks adobe!  I only have about 200 more clients like this to copy THE SAME RULE SET into.  With the age of this software, this feature should be implemented and perfected by now.  Please help us Adobe.

  • Sticky hide show - application

    Dear all,
    I justed installed the sticky hide show - application to take advantage of the ajax and dhtml logic, but when I try to run the application or single pages I always get the ORA-01722: invalid number error message and I don't know the reason for that. My apex version is compatible with this demo version.
    Thanks
    Jens

    Rhodri
    Hi. Sorry post not clear - is exactly the same issue - get 'ORA-01722: invalid number'. on one ApEx installation but not on another. In fact this applies to the demo app that downloads from OTN for the sticky windows as well as our app after adding the "sticky" functionality.
    Mentioned page 101 as this is a system generated page (easily allows reproduction of the error in a test app) and this localises the 'ORA-01722 error in the process added as part of the sticky show-hide implementation. The only element of the "sticky" implemented by this point in the (first) app page is the application process triggered at page "On Load". See my post:
    If you set the app to use the Application Express authentication scheme and
    then run it, you get the error on page 101, followed by the process error
    message inserted for the SHOW_HIDE_OUTPUT "On Load" process. This
    implies the problem is in the show_hide_collection_output procedure in the
    package.You can check out the show_hide_collection_output procedure in the package using the apex object browser or sql*developer - its the one called at the point the error is generated.. The installed package supporting the sticky implementation is called "show_hide_memory"
    Cheers, Dave

Maybe you are looking for

  • Loops not appearing in loop browser, why?

    I just got a new 20 inch iMac. I used Migration Assistant to help transfer the contents of my old G3 iMac DV SE from 2000. I was not running Garage Band on that computer. When I open up GarageBand on my new computer and then click on the loop browser

  • Connecting HP 4l to imac

    How do I connect an HP 4L to an imac ?

  • How does one get a list of messages.

    I would like to get a list of all the messages in a queue, topic or subscription but I do not want to remove them from the queue, topic or subscription. Thanks Ralph

  • Info on macbook pro unibody power supply or charging issues

    there are all kinds of tricks to resetting things, but what if the laptop battery is dead and wont charge, are there any tricks to perform on a dead macbook pro?

  • PO for Rebate Agreement

    Hi, How can we consider the earlier PO's into rebate agreement. i.e when a rebate agreement is created later/after few days of agreement date, how can we include the purchase orders that were created earlier for rebate. For an example if the agreemen