Calculation based on radio box Help PLEASE....
I am trying to make a text box perform a calculation based on whether or not a radio button is checked or not.
If the radio button named "Basting" in the "Quilting Type" group is checked then the text box "Basting Charge" should find the value of the "Total Square Inches" field and multiply that total by 0.015 and show the new total in the text box as a dollar value, if the radio button "Basting" is not checked the value in the "Basting Charge" field should be "-0-".
I can get the calculation I want from this:
var v1 = getField("Total Square Inches").value; event.value=v1*0.015;
but how to include the radio button function and the "-0-" ?
Okay, I have now made a "check box" with the name of "Basting", not in a grouping.
This is the set up:
Text Field = Total Square Inches
Check Box = Basting
Export Value = Yes
Text Field = Basting Charge
Calculation for "Basting Charge" should be "0" unless the "Basting" check box is used, then it should get the value of the "Total Square Inches" and multiply that number by 0.015 and show this value in the "Basting Charge" box displaying as a dollar figure.
So if the value in the "Total Square Inches" is 12,000
and the "Basting" check box is used
The "Basting Charge" should read "$180.00"
if the check box is not used then it should read "-0-"
Similar Messages
-
Change field from read only and override calculation based on radio button
Hi,
I have a form in which one of the fields has a simple sum calculation and is set to read only so the user can't change it as it sets a print amount as well.
But if one of the radio buttons is ticked there is a chance that the print amount needs changing but it can be different based on a few other options so I have managed to set the field so the user can edit it depending on an option but the calculation that sets the value overrides what the user enters. I would like to know if it is possible to change this?
I use
this.getField("Quantity_Boxes").readonly = false;
So the user can edit the field when they select the radio button 'yes' under Mesh_b
and
this.getField("Quantity_Boxes").readonly = true;
So the field goes back to read only when the user selects the 'no' under Mesh_b
and in the Quantity_Boxes field I use:
Quantity_Curtains / csn
Just as a simplified division sum with the decimal places set to 0 so a whole number appears.
csn is just a hidden field that has an amount set depending on the size of curtain.
Thanks,
BruceI have found a solution but caused another problem (well more of an irritation than a problem)
I have made it so the can field throws a dialogue box asking how many of the item fit into a box, the only problem is that the dialogue box will appear more then once.
For example I have made a new size know as bespoke and when I select that size and hit return the dialogue box pops up which is fine but when the amount of the product is changed it throws the dialogue box again. I guess this is because the calculation has to be run again but is there anyway of stopping this?
Here is the code I use in the can field which defines how many curtains are in the box and is used to calculate how many labels need printing out.
if(this.getField("SizeDrop").value=='LG'){
event.value = "5"
} else if (this.getField("SizeDrop").value=='ST'){
event.value = "8"
} else if (this.getField("SizeDrop").value=='ME'){
event.value = "10"
} else if (this.getField("SizeDrop").value=='SM'){
event.value = "15"
} else if (this.getField("SizeDrop").value=='BE'){
var resp = +app.response("Enter the amount of curtains in a box","","1");
event.value = resp
} else {
event.value = " "
Thanks,
Bruce
EDIT:
I have found that the dialogue box will appear every time something is changed on the form (even while in the editor as well) -
Put email in wrong box help please!
I have accidently put my new email in the alternate email box, so i deleted it and put it in the correct box for all apple email to go to that one and now it wont let me use it as my apple i.d email address because i put it in the wrong box even though i deleted it. please help!
1. Send Apple an email request at: Apple - Support - iTunes Store - Contact Us.
2. Call Apple Support in your country: Customer Service: Contact Apple support. -
i am trying to set up an arch linux torrent box and i am running in to some issues. everything has been going smooth until i get ready to setup the php. these are the instructions i am using to set it up
Part 3.33 repeating: Setup PHP
Step 1: Type 'sudo nano -w /etc/httpd/cont/httpd.conf' and scroll down to the end of the list of 'LoadModule'. At the end, type 'LoadModule php5_module modules/libphp5.so' and 'Include conf/extra/php5_module.conf' on two separate lines.
Step 2: Find 'open_basedir' and add ':/bin/:/usr/bin/:/usr/local/bin/' to the end of the line (follow the pattern).
Step 3: Find 'allow_url_fopen = Off' and change it to 'allow_url_fopen = On'
Step 4: Type 'sudo /etc/rc.d/httpd restart' to restart the server. There is a script to test PHP on the wiki link at the beggining of this part, do it.
the entire guide can be found herehttp://filesharefreak.com/tutorials/set … flux-b4rt/
i am having issues with step 2 i cannot seem to find open_basedir for the life of me! is this guide out dated? i have followed everything to a cept the install process was in a slightly diff order then in the guide some please help me thanks in advancei am really new to all this so bear with me.... do you mean still use arch and use rTorrent for the torrent front end?
basically this is my setup if anyone has a better suggestion of what i should use please don't hesitate to let me know i am open to suggestions.
I have my main pc
AMD Phenom II 940 BE
MSI K9N2 Diamond MoBo
EVGA GTX 260 core 216 super-clocked
8GB ram
5x 500gb HDD's
Cooler Master V10
1kW psu
Antec 1200 case
Windows 7 Ultimate Signature Edition
Needless to say it puts out some heat, right now it great keeps me nice and toasty but i have another old gateway that i want to use. i want something that is not demanding on the system since the gateway is on it's last leg. I will be hooking the gateway up to an internet connection and power no monitor unless i absolutely need to
BTW: thanks i found it where you suggested, i will keep the thread open tho for now if anyone has any other suggestions on how i should set this up thanks
Last edited by undeclared (2009-11-28 19:26:44) -
I am pulling my hair out! I am using adobe indesign and just want to make a text box 'autofit text' as I change fonts a lot and want the font to automatically re-size as I change it.
Is it not possible to create a text box, fill it with dynamic (data driven) text, but make the font size either scale up or down automatically, so that the entire text box is filled? This is a feature in PrintShop Mail Pro called COPY FIT. but no such feature in Indesign??
help help help please - I have latest version of indesign - thanks, DJlol... it seems to work, but I have another huge problem!
Apparently .CSV files cannot contain page breaks in the data! The data I am trying to merge is a 'letter', with paragraphs, line breaks, etc.,
But, after data merging, it ignores page breaks and only merges the first paragraph of each letter. (sigh)
Solution? Hopefully, an EASY solution. lol as we have thousands of records.
Is there a third party indesign plugin that will allow .xml, or .xls data merge import??
Thx,
DJ -
I noticed a couple of days ago that my url bar on my imac was no longer there,I am new to the apple community and I am not sure how to progress with my qustion. I have tried selecting :- view / customise toolbar but the dropdown box which has various options to drag and drop does not show the address bar I am stuck can you help
Thanks.... I too had this problem and didn't have a clue why it disappeared at times and how it reappeared as well. Got another bird with the same stone
Re: I have lost my Safari url bar ,tried view/customise toolbar but when box opens there is no address bar to drag back can anyone help please
Aug 15, 2012 10:09 PM (in response to jame5allen)
Go to: Safari>View Menu>Select 'Show Toolbar'.
BCV -
For some reason I cannot download and install the latest version of iTunes. 11.0.2. Could you help please? Each time I try, I get a command box saying 'The feature you are trying to download is on a network resource that is unavailable. Click Ok to try again or enter an alternate path to a folder containing the installation package iTunes.ms in the box below.
Please help!
Many thanks in advance
Ben Bentley
West Midlands
UK(1) Download the Windows Installer CleanUp utility installer file (msicuu2.exe) from the following Major Geeks page (use one of the links under the "DOWNLOAD LOCATIONS" thingy on the Major Geeks page):
http://majorgeeks.com/download.php?det=4459
(2) Doubleclick the msicuu2.exe file and follow the prompts to install the Windows Installer CleanUp utility. (If you're on a Windows Vista or Windows 7 system and you get a Code 800A0046 error message when doubleclicking the msicuu2.exe file, try instead right-clicking on the msicuu2.exe file and selecting "Run as administrator".)
(3) In your Start menu click All Programs and then click Windows Install Clean Up. The Windows Installer CleanUp utility window appears, listing software that is currently installed on your computer.
(4) In the list of programs that appears in CleanUp, select any iTunes entries and click "Remove", as per the following screenshot:
(5) Quit out of CleanUp, restart the PC and try another iTunes install. Does it go through properly this time? -
Trying to install Adobe Photodeluxe (elements 13) I have box and cd sleeve with serial number, But registration won't let me type letters only numbers allowed. Help please.
You possibly have a redemption code which has to be converted into a serial number.
https://helpx.adobe.com/x-productkb/global/find-serial-number.html -
I m trying to import some picture from my iphoto library but element 12 don't show me the iphoto dialog box ,where i choose what i want to import, as I can see on my classroom book and in many tutorial.any one can help please ? thanks
I have the same problem... but the photo library is neither on my iPhone or my Computer!! Please help.. its taking too much space.
-
i was in science trying to use my calculator and i couldn't slide to unlock my ipod. later i kept getting notifications but it still wouldnt slide. help please?
Try:
- Reset the iOS device. Nothing will be lost
Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
least ten seconds, until the Apple logo appears.
- Restore from backup. See:
iOS: How to back up
- Restore to factory settings/new iOS device.
- Make an appointment at the Genius Bar of an Apple store.
Apple Retail Store - Genius Bar -
Hello
I have a problem in calculating the apple id Can you help me please
I forgot answer security questions for your account How can knowledge
Please help
Please reply as soon as possible
I can not buy from camels Store
And the rest of the account balance $25
Message was edited by: lingo azamI think you mean App Store.
Rescue email address and how to reset Apple ID security questions -
my ipod nano FM radio does not work it only has European band and japan band and when you search to find a radio station I cant hear anything. Help please!!
Hi kahli:
Have a look at http://manuals.info.apple.com/en_US/iPod_nano_5th_gen_UserGuide.pdf
AND
http://manuals.info.apple.com/en_US/iPod_nano_5th_gen_UserGuide.pdf -
I am having an with the dictation feature in OSX Mountain Lion. I got Dictation enabled but when I got to use the feature all I get is the circles that cycle the purple color, shakes the the box disappears please help.
See the discussions under "More Like This" at right.
-
I just bought a iPod nano 7th gen and having issues with clear radio channels. Please help.
You can send it in to them: https://expresslane.apple.com/GetproductgroupList.action?PRKEYS=PF3
-
HT1222 Can't install- box greyed out? Can anyone help, please?
Can't install- box greyed out? Can anyone help, please?
Well, I don't understand this any more than when I posted, but it seems that it's the Animation codec that is the culprit. If I export using DV, there's no problem conforming to 24. Anyone have any ideas why that might be the case?
Maybe you are looking for
-
Assertion in oracle sql developer
Hello all im using oracle sql developer and oracle11g , how can i use assertion for my tables? i searched in internet but there were no useful information thank u in advance best, david
-
HELP! MacBook Pro cant recognise or burn DVDs but only CDs, and...
Hi all I noticed that there many of you have the same problem, but I really need some advice here, my MacBook Pro cant recognise or burn DVDs but only CDs, well actually occasionally it does recognise the DVDs then it burn but cannot write (on Toast)
-
What is the imei code of ipad air 32gb space gray australia
what is the imei code of ipad air 32gb space gray australia URGENT need
-
Connecting and modifying MS ACCESS with Asian language
i have establish the connection with MS access 2000 but SQL developer showing symbol " ????? " the data is in Asian language (Urdu) ....any suggestion/ solution...... thanks
-
EC-CS: Error Message no. G00085; Period not valid
Hi Gurus, Greetings I am in a implementation and been assigned to configure the Consolidation process in an ERP 6.0 environment. We are using SAP EC-CS and i am new to this entire process. I am also not sure whether my config is 100 percent correct.