Computation on a button push?

Can you do a computation on a button press?
I have a makeshift weekly calendar that I have 2 buttons under...previous and next. I want to push that button and to calculate the monday +7 for the next or the monday -7 for the last. I cant seem to have an action on a button push...just a process or a branch. Can anyone help?
-Jason

Hi Jason,
Presumably you have a field somewhere that contains the current week's date and the calendar is based on this field?
If so, you could do either of the following:
1 - Add in two processes that update this value with either Monday-7 or Monday+7 depending on what button is clicked. As long as the process runs "Before Header", the calendar will see the new date and load the correct data into the calendar.
2 - Add two hidden fields onto your page - one for Monday-7 and one for Monday+7. You can then have two branches (conditional on which button is clicked) to pass one of these values into the main date field.
Otherwise, you can have a computation run when a REQUEST value is a certain string. There is a setting for a button called "Button Request Value". Enter the request name (without quotes) in this setting. Your computation would then be "After Submit" and Conditional Display would be "Request = Expression 1" and "Expression 1" set to the request name.
Regards
Andy

Similar Messages

  • Is there a way to answer the 5c without swiping? It really is a pain and hard to do at times one handed. Maybe allow favorites to be answered with a click of the home button or possibly all calls with a home button push

    Is there a way to answer the 5c without swiping? It really is a pain and hard to do at times one handed. Maybe allow favorites to be answered with a click of the home button or possibly all calls with a home button push. First smart phone I have owned and the old flip phone was much easier to answer.....just press one button.

    Is there a way to answer the 5c without swiping? It really is a pain and hard to do at times one handed. Maybe allow favorites to be answered with a click of the home button or possibly all calls with a home button push. First smart phone I have owned and the old flip phone was much easier to answer.....just press one button.

  • My phone wont reset with the both buttons pushed down method.. anyone knows anything else? please help!

    my iphone 4 is stuck in the spinning wheel mode, ive tried reseting it with both buttons pushed down and it wont reset! anyone knows some other way to do it? please let me know! thanks

    When you push both buttons (home and on/off), you need to hold them down together for 10-12 seconds till the Apple logo appears.

  • Sound Blaster Omni 5.1 - mute speaker and mic with single button push

    Does anyone know if its possible configure the Omni to mute both speakers and the Omni's internal mic with a single button push using the hardware volume/mute button on the Omni. I have a scenario where i need to mute both quickly when a call comes in and its a nuisance having to mute the speakers and mic separately.

    Hi Tony,
    Unfortunately there is no physical button to achieve that. Neither is there a software button to disable both speakers and mic at the same time.
    Regards,
    Colin-CL

  • Grey screen with message "turn off computer with power button until switch off then press again power button"

    Dear all,
    I'm very hungry with my iMac and my Time Capsule :
    I try for two weeks to restore my iMac without any success...
    I wait 80 hours to finally have the message again and again : "to restart your computer : turn off computer with power button until switch off then press again power button".
    But my iMac do not work !
    Could you help me?

    Hello, that's a kernel panic...
    http://thexlab.com/faqs/kernelpanics.html
    Could be many things, we should start with this...
    "Try Disk Utility
    1. Insert the Mac OS X 10.6 Install disc, then restart the computer while holding the C key.
    2. When your computer finishes starting up from the disc, choose Disk Utility from the Installer menu at top of the screen. (In Mac OS X 10.4 or later, you must select your language first.)
    *Important: Do not click Continue in the first screen of the Installer. If you do, you must restart from the disc again to access Disk Utility.*
    3. Click the First Aid tab.
    4. Select your Mac OS X volume.
    5. Click Repair Disk, (not Repair Permissions). Disk Utility checks and repairs the disk."
    http://docs.info.apple.com/article.html?artnum=106214
    Then try a Safe Boot, (holding Shift key down at bootup), run Disk Utility in Applications>Utilities, then highlight your drive, click on Repair Permissions, reboot when it completes.
    (Safe boot may stay on the gray radian for a long time, let it go, it's trying to repair the Hard Drive.)
    If perchance you can't find your install Disc, at least try it from the Safe Boot part onward.

  • IPhone 4: accedental buttons pushing

    Hi,
    Since I'd updated my wife's iPhone 4 to iOS 7 she began experiencing accedental buttons pushing while placing a call. Clearly its proximity sensor doesn't turn off its screen every time she places a call, sometimes it works, sometimes not, roughply 50/50 chances of getting this issue.
    Did you face the same issue?
    Thanks for your help!

    Close all open apps by double-tapping the home button, then swiping up and off the screen with the app window (not the smaller icon).
    Reset your device: hold down the home button along with the sleep/wake button until the screen goes black and you see the Apple, then let go. (No data loss)

  • My Mac Pro doesn't start on first button push.

    Starting about 2 months ago, my Mac Pro won't power on unless I press the power button once, wait about 3 seconds to hear a click (as if something inside turned off), and then press it again.
    There are no other noticable issues. I have the tower hooked up to a UPS, so I don't THINK it's the power supply (unless the clicking I'm hearing is the power supply resetting itself in some way). I've unplugged it completey, drained the battery, replaced the startup battery, reset PRAM / VRAM, all of the normal troubleshooting stuff, but it still requires this 2-button push to start up.
    Any ideas as to what's going on?
    Thanks!

    https://support.apple.com/kb/HT1149

  • Controlling one vi from another (auto button pusher)

    The labview forums have been such a great resource, especially for someone that is not an expert level programmer like myself, that I thought it was just about time, that I tried to give something back to the community of people that have been so helpful. I just recently solved a problem that I would think effects lots of other industries, and that possibly many people have been in a similar situation.
    We have a fully built labview program that tests a box that we have here. It is an actuator for the aerospace industry. But it could just as well be any other sort of electronic box. The labview code has been evolved for a number of years now, by many different developers, and is in a word AWFUL. It is just about the the most complicated and convoluted code I have ever seen. What makes it even worse, is that there is no documentation whatsoever. Imagine trying to fix the engine of a car, with no instructions as to how any of the parts are supposed to work, and you get the idea. 
    The time has come in our developement process, that we want to start doing some automation. The main .vi has buttons and indicators that a technician will enter information into, send it to the box, and then wait for a response (part of a testing procedure). The code is not modular at all, and it would take a VERY long time, to attempt to re-write the code as it should have been written, in a more modular fashion. So what to do?
    So I came up with a concept that I am calling "automatic button pushing". So basically what I did, was perform an Asynchronous VI call, to the VI in question, and then use various references and property nodes back to that VI, to push the buttons, and then look at the responses, as though I were a technician doing it manually. Clearly, this is not the most ideal solution. The proper way to do this, is to re-do the software so that things are more modular, and then probably use something like teststand to set up the testing for it. All of those things will happen in the future, but they needed something quick that can bridge the gap, and they did not want to touch any of the original code, as that would require re-certification etc. So what I proceded to do was to create a series of sub-vi's that touch all of the various buttons, and read the indicators that I need. Then string them together in a top level .vi to create a fully automated test. Enclosed is the subVI that I used to do the Asynchronous VI call, and an example of one of the controls that I am "pushing".
    I am thinking this sort of thing might be very useful for others. Hope this is helpful.....
    Attachments:
    Enum Control.jpg ‏74 KB
    Async Call.jpg ‏40 KB

    djs_at_eaton wrote:
    Your description:
    The labview code has been evolved for a number of years now, by many different developers, and is in a word AWFUL. It is just about the the most complicated and convoluted code I have ever seen. What makes it even worse, is that there is no documentation whatsoever. Imagine trying to fix the engine of a car, with no instructions as to how any of the parts are supposed to work, and you get the idea.
    sounds frighteningly familiar.
    Unfortunately your situation is quite common.  But I'm wondering if you couldn't simply have used normal LabVIEW techniques to call the code as a sub-VI.
    I understand your misery.  I've got code with a cluster of about 140 variables passed through a queue-driven case statement with over 100 cases.  Each case can add any other cases to the execution queue.  I'm not sure the original programmer understood it.  I'm rewriting it.
    Something like that, I would likely leave alone.  You just don't know that something idepending on something that was coded incorrectly.  You could end up chasing your tail.
    edit
    Unless, of course, that was the scope of the project. 
    /edit
    Bill
    (Mid-Level minion.)
    My support system ensures that I don't look totally incompetent.
    Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.

  • Computer won't start by power button only; requires extra reset button push

    I have a PowerMac G4 AGP, 400 with 1.5 ram, OS 9.2.2. For some time now I have not been able to start the computer by pushing the power button on the keyboard. To start the computer I can push either the power button on the keyboard or front of the computer, then I have to push the reset button on the front of the computer.
    Now I need to do a firmware upgrade and I need the computer to start from the power button alone. I've zapped the PRAM, but haven't opened up the computer to start resetting PMU and changing the battery. Can any of you computer docs give me a diagnosis?
    G5180d, G4SDTiBook, G4TiBook, G4 Yosemite, PC 604   Mac OS 9.2.x  

    It' possible that the battery is weak. Have you ever changed it. See Mac PRAM, NVRAM, CUDA/PMU & Battery Tutorial
    This link tells what firmware version you need for OS X. You need version 4.28 (Boot ROM version in Apple System Profiler) Mac OS X: Available firmware updates
    http://docs.info.apple.com/article.html?artnum=86117
    You need to install the firmware using OS 9 BEFORE you install OS X.
    Cheers, Tom

  • Computer has started talking repeating all buttons pushed, How do TURN OFF?

    My kids were on computer last night and now it is repeating everything and icons are much larger. Any help?

    this has nothing to do with AppleTV.
    however i will humour you with the answer.
    system preferences > universal access
    disable what they "kids" enabled in there.

  • DVD Player hangs when Fast Forward (F9) or Rewind (F7) buttons pushed

    When I push and hold down the fast forward and rewind keys in DVD Player, the video does indeed fast forward and reverse. But when I push and immediately release, the picture freezes, and the computer hangs. Cannot do shut down, have to do shut down by holding on/off button and then restarting.
    Very frustrating, lost a bunch of notes I was taking while watching the lecture. Any thoughts?
    Sigh,
    Dave

    Also, if you're at the computer or have a wireless keyboard, hold down the apple key (command) and and press an arrow key for FF and RW. Pressing again should step up the speed, depending on the capabilities of the 11D. Mine (104D) can FF up to . . . I think it's 32 times?
    If you have the apple remote, it's press and hold.

  • Button push image into HTML div

    i have a flash in a HTML, and a button in flash. I want to
    use the flash button to push image into the div of the HTML
    How to do that please?

    Could be a memory issue. Try closing Dreamweaver and re-start your computer.
    Nancy O.

  • IPhone 4 wont turn on connected to computer, my home button doesn't work. what do i do?:/

    my iPhone 4 doesn't want to turn back on, its randomly turned off on me before  but now it wont turn on at all.
    i left it charging over night to hope it would turn on in the morning but still hasn't worked... i plugged it into the computer and its been connected for about 10 minutes and still wont turn on. my home button is broken so i cant do the sleep/wake and home button reset.
    what do i do? HELP! thank you.

    Hello jabez2440,
    Not being able to use your device can certainly be frustrating. After reviewing your post, I have located an article that can help with your iPhone. It contains a number of troubleshooting steps and helpful advice for the issue you are experiencing:
    iOS: Not responding or does not turn on - Apple Support
    Your iPhone, iPad, or iPod touch may occasionally stop responding to buttons, switches, or touchscreen input and may exhibit one or more of these symptoms:
    Does not return to the Home screen after you press the Home button
    Does not wake from sleep after you press the Sleep/Wake button
    Does not turn on (or power on) when you press any button
    Does not start up past Apple logo
    Appears frozen or unresponsive
    Is unable to "Slide to Unlock" or "Slide to Power Off"
    To troubleshoot these symptoms:
    If a single application is not responding or stops responding when it opens, you can force it to close.
    If the device is unresponsive or if certain controls aren't working as expected, restart your device.
    If the device remains unresponsive or does not turn on (or power on), reset your device.
    If there is no video or if the screen remains black, verify that the device has enough charge to turn on:
    If you are using an iPad, ensure that it's connected to the USB Power Adapter supplied with the device.
    Let it charge for at least twenty minutes, then see if it starts normally.
    If there is no image on the screen, press the Sleep/Wake button to attempt to wake the device.
    If the screen displays a red battery icon, continue charging the device until the battery is fully charged. Learn more about charging iPhone and iPod touch, or iPad.
    If the above steps do not resolve the issue, or the if the screen remains black or shows a persistent Apple logo, try restoring with iTunes:
    Connect the device to your computer and open iTunes.
    If the device appears in iTunes, select and click Restore on the Summary pane. Learn more about restoring iOS software.
    If the device doesn't appear in iTunes, try to force the device into recovery mode, and then restore it.
    If the above steps do not resolve the issue, contact Apple.
    Thank you for contributing to Apple Support Communities.
    Cheers,
    BobbyD

  • Want to type in my phone contacts with my computer (NOT tiny buttons on phone)

    OK so I do not use Outlook or Yahoo or any of the like type services and even if I did, it would just be email addresses and not phone numbers.  I need to input all my phone contacts (about 200) into my 8330.  I cannot fathom how long it is going to take using those tiny buttons on the phone itself (seeing as how my big fingers hit like 2 or 3 buttons every time I try to hit a letter while texting and I have to constantly delete and it takes forever).  I dont care about adding email contacts into the phone.  I want some way to type in phone numbers on the computer then sync that info into the phone's contact list.  I have tried to find such a function on the desktop software, but I don't think it has anything like that.  Should I just bite the bullet and start typing in contacts with the tiny buttons on the phone?  WOW, what a pain, you'd think RIM woulda made this easier.
    -Jeremy
    P.S.  If I did go through the trouble of trying to set up some kind of Yahoo or Outlook (which aparently I'd have to pay extra for, sheesh!) account, woudl that just do email contacts or phone numbers too?  (trying to figure out why on earth I'd type my friends' phone numbers into my email list?).  Secondly, if I did that, would that foold my inbox with text notifications?...  or my phone with email notifications?  I don't want email notifications on my phone, just phone calls, texts, pix, etc.

    Welcome to the forums
    You have a few options available to you to make this easier. Depending on your desktop manager version and your computer's OS, you can import/sync contacts with the applications in this kb article: http://www.blackberry.com/btsc/KB14730
    Google sync can also do the same, but it is not included in the list. You need a google account and have to download the google sync app.
    Hope that helps.
    Kijana
    Please remember to:
    1. Mark Accept as Solution on the appropriate post once your issue has been resolved
    2. Give Kudos to helpful posts (click the star next to the post)
    Thanks

  • White screen, not syncing with computer- tried holding buttons please help?

    Please help. The screen of my daughters 4th gen ipod has frozen white. Have tried syncing the frozen ipod with computer but it is not recognised. I have treid holding home and sleep button at the same time but no change. Would be prepared to do a reset but the computer cannot recognise it. Have read various other responses to questions and am currently leaving the batteries to drain. None of this is helped by the fact that my daughter is sobbing about it in my ear! Ahhhhh

    Phil, did you have a hard Saturday night?  The ling you provided is for "regular" iPod, not iOS devises,  You link stated:
    "If you have an iPod touch, see iPhone, iPad, or iPod touch: Device not recognized in iTunes for Windows."
    Philly_Phan wrote:
    Have you been here?
    http://support.apple.com/kb/TS1369
    There have been some problems accessing pages on the Apple web site.  If the hyperlink gives you a "We're sorry" message, try again.

Maybe you are looking for

  • Error adding a child form to more than one form

    When I try to add a child form to more than one form, I get the following error: Error Keyword: SDK.ADDFKCON Description: Error Adding Foreign Key/Constraint. Remedy: Action: F Severity: H Help URL: Detail: The following is the log trace: ERROR,23 no

  • Switches on Network Borders

    Hi There, Can somebody advise how secure is it to place a L2 switch on my network perimter? I heard that it is easy to flood a switch that's exposed to the internet but I'm not sure how accurate is this sentence because I'm aware that switches are no

  • How long to Status: Registration in progress

    I Register Apple care  1 week, why my status in progress , please help me for check update - - Thank so much

  • Using a .DMG versus duplicating in Disk Utility

    Hi All, In Disk Utility, Help has a page for "Duplicating a CD or DVD" which utilizes creating a Disk Image and burning that image to a new DVD. As I have 2 drives, I tried to use te "restore" tab and simply drag the source and destination DVDs to th

  • [SOLVED] Dell XPS 15 l502x + GT 540M + Bumblebee: No devices detected

    Hello everyone, I have Dell XPS 15 l502x laptop with GT 540M graphics card with optimus support. I want to enable optimus with bumblebee, but no matter what I do I just can't make it work. I'm already start thinking that this laptop is not supported.