Help with check boxes
Hello world
IM, trying to understand what follows but I'm gray will try to sort it out!
I have a column of checkboxes, when I check the they fill a number from another column. The problem is that I can't add populated figuration as uncontrolled boxes cause an error! Is anyway to say "just add th numbers that have a graduation along side them and ignore the rest zero values"?
Help me please as its driving me crazy!
Thanks in advance.
I'm going to bump this because there are several experts numbers here. In the meantime, enter in your Google bar (just copy the line below and paste) search
box numbers 2015 site: discussions.apple.com
or
2014 site: discussions.apple.com box numbers
Tags: iWork
Similar Questions
-
Help with check boxes and actions
Hello
I just downloaded a trial version of LiveCycle Designer ES2 to see if this program works for the company that I work for. I need to create order forms for our products that our customers can fill out online and then send an e-mail to our sales department.
I have imported our current order form to LiveCycle as a work of art and have inserted check boxes on the form. I want the form to automatically add the price of the option they checked off the retail price of total at the bottom of the form. Do you have any suggestions for me?
Thank you!
Stefan
Hello Stefan,
LC Designer is a very powerful application. While you can drag and drop objects on the form, for things really move you need to put a script in objects. This allows to control the way in which the form will be according to the users actions.
To begin with there is help. If you have a look at the Action Builder in the Tools menu, you can select an object, then use the plain instructions accumulates the desired interaction. When you click OK, LC Designer will insert the necessary script.
Therefore, there may be a steep learning curve, so it depends on how comfortable you are to roll up your sleeves and do some scripts.
First, you must configure your workspace. This tends to be a personal preference, but here's a basic layout.
It is a bit small, because of the scale, but you get the idea. At any time, you should be able to see the page, the hierarchy and the script editor. The object library and the range of the object and other palette must be close to hand as well.
I am NOT inclined to import the form existing as work. This can limit the built-in options in LC Designer later. You can save your form existing in JPEG format and then in a new form to use the image object (value size full page) to display the image of the existing form.
[ALTERNATIVE: you can also add fields to a PDF in Acrobat].
Regarding scripting, the following JavaScript code should work in the click event of the checkbox (on the ground that the other field is named totalPrice).
If (this.rawValue == 1)
{
totalPrice.rawValue = totalPrice.rawValue + 10;
}
on the other
{
totalPrice.rawValue = totalPrice.rawValue - 10;
}
This should take into account if the user changes of opinion and unticks the box.
One thing to keep in mind about forms developed in the LC Designer, it is only the functions that will be available in the form (such as submit by e-mail in PDF format) will depend on whether the user has Acrobat or Reader, and also on whether the form has been active player (and how it has been activated). There is more information here: http://assure.ly/gYyYc2.
I highly recommend JP Terry on LC Designer which is excellent - book "create dynamic with Adobe LiveCycle Designer Forms. It starts at the beginning and clearly sets out the key learning points. In the end, there are a few good examples that you can copy anywhere in your forms.
We have solutions and blog posts on our website http://www.assuredynamics.com.
There are also a range of online resources. You can find these resources useful:
http://www.Adobe.com/go/learn_lc_scriptingBasics
http://www.Adobe.com/go/learn_lc_scriptingReference
http://www.Adobe.com/go/learn_lc_formCalc
http://www.Adobe.com/devnet/LiveCycle/articles/Adobe_XML_Form_Object_M odel_Refer ence.pdf
http://www.Adobe.com/devnet/Acrobat/PDFs/lc_migrating_acrobat_xmlform. PDF
And a very convenient resource (and even if it's for version 6, it is still very good because of the way it is presented):http://partners.adobe.com/public/developer/en/tips/CalcScripts.pdf
The HelpFile in the LC designer can also help with the syntax and LC designer itself comes with some great models and examples.
Finally, discover the network of the developer on http://www.adobe.com/devnet/livecycle/
A book that does not deal with the scripts at all, but is very good on the formatting is also ""does this work " by Caroline Jarrett and Gerry Gaffney."
The Adobe "PDF forms Bible" is OK, but focuses mainly on AcroForms.
WindJack Solutions have a service on subscription for the scripts and solutions tohttp://www.pdfscripting.com. There a lot of AcroForm script which can be modified according to LC designer and a growing library of LC Designer solutions.
I hope this helps,
Niall
-
How to create the report with check box (Update, Delete) operations
Hi all
I want to create report with check boxes.
I created it based on the user's manual. But do not delete records. Please help me
workspace: APPSGURU
P.W:rag$ 123
Application:36232
Page: 14
Thank you and best regards,
Rambeau
Raghu,
Request for check line deleted successfully.
made some changes in the removal process.
Leave.
-
Hi all
I have a report with check boxes the empno they receive in return
I have
Select apex_item.checkbox (1, empno) cbox, a.empno, a.ename, a.mgr, a.deptno of the emp has
in the report...
I have a dummy hidden (P2_EMPNOS) field that stores from the inside with concatenated comma empno (for which I wrote a page process)
DECLARE
vRow directory;
BEGIN
: P2_EMPNOS: = NULL;
: P2_EMPNOS: = apex_application.g_f01 (1);
BECAUSE me in 2... apex_application.g_f01. COUNTY
LOOP
: P2_EMPNUMS: =.
: P2_EMPNOS
|| ','
|| apex_application.g_f01 (i);
END LOOP;
END;
on my next page, I want the records that I have chosen as this
Select a.empno, a.ename, a.mgr, a.deptno
EMP a
where empno in: P2_EMPNOS
I have tried (: P2_EMPNOS),': ' P2_EMPNOS
The problem is if I select a check box, and then on the next page, I get this a record...
But if I select several, then a bad start... it says "no data found"... but still, the values can be displayed on the next page with commas
A body can help me in this please.
Thanks in advance.
GoraWrite your SQL as
Select a.empno, a.ename, a.mgr, a.deptno
EMP a
where instr (: p2_empnos, ',' | empno |) ', ') > 0CITY
-
With the help of check box in number to add/subtract a value of 0.5
Hello
I use a formula that calculates working hours daily and then subtract a half hour for lunch if a check box is selected. The formula applies with the exception of the time 0.5 being added or subtracted. Any ideas? The box strives to subtract the Boolean value (0 or 1), I just need this value to be represented as 0.5 If you get my drift...
Thanks in advance!
Tender Hello,
Formula in D2 (fill down)
= B2−a2−if(C2,"0.5H","0h")
Kind regards
Ian.
-
Button cancel help with response box.
Hello
I hope for a little help here .
I'm a very, very new on LC Designer and I have created a form that has a checkbox on that. What I want to achieve, when the user clicks on the checkbox a response box appears asking them to enter a value or £100. When they click ok, this value is entered in a textfield, now this part I managed to achieve with this formcalc script:
-form1. #subform [0]. Insurance::click - (FormCalc, client).
Form1. InsValue = xfa.host.response ("Please enter the required amount of insurance coverage for your item in the box below.", "Necessary for insurance")
My problem now is that if the user clicks the Cancel button, but nothing is obviously entered in the textfield box remains ticked, if possible, I would like to have the unchecked check box when the user clicks Cancel.
Thank you very much.
It is very easy to do... I want to tweek your code as follows...
-form1. #subform [0]. Insurance::click - (FormCalc, client).
var AMT
AMT = xfa.host.response ("Please enter the required amount of insurance coverage for your item in the box below.", "Necessary for insurance")
If amt <> "" then
Form1. InsValue = amt
on the other
$.rawValue = 0; set unselected chekbox
endif
-
PLEADING... I NEED help with the boxes, one for each row in table.
I have a tabular presentation I want to use to process once that will process once for each line that has had its check box selected. I worked on it... It seems... forever. I almost gave up. More than once I thought I had it all to find that I have no work.
It seems always executed once for each row in the set of lines in the displayed table and I care about her contract so that the lines checked.
Here is my select statement...
Select
APEX_ITEM. CHECKBOX (2, ISSUE_KEY, DECODE (issue_closed, 'Yes', 'CLOSED', 'No', 'DISABLED', null)) CHECK_KEY;
TO_CHAR (ISSUE_DATE, ' ' DD-MON-YYYY HH24:MM:SS) FAILURE_DATE,.
ISSUE_COMMENTS
QUESTIONS
I have a submit button that runs the following process
DECLARE
v_org_comments varchar2 (1024): = ";
BEGIN
BECAUSE me in 1... APEX_APPLICATION. G_F02. COUNTING LOOP
SELECT ISSUE_COMMENTS
IN v_org_comments
QUESTIONS
WHERE ISSUE_KEY = APEX_Application.g_f02 (i);
UPDATE PROBLEMS
SET
ISSUE_COMMENTS = v_org_comments | » ' || : P4_X_ODF_NOTES,.
ISSUE_CLOSED = "Yes"
where ISSUE_KEY = APEX_Application.g_f02 (i);
COMMIT;
END LOOP;
END;Hello
I had the same problem. It seems that if you pass your columns to the columns in standard report it will fire for the checked columns. But if you proceed towards editable fields each line is treated as checked.
So if you use line selector instead of manually creating check boxes and have a hidden primary key
field, you can then use something likeBECAUSE me IN 1.APEX_APPLICATION. G_F01. COUNTING LOOP
UPDATE
SET
WHERE=
APEX_APPLICATION. G_F02 (APEX_APPLICATION. G_F01 (i));
END LOOP; -
The two problems with sub form of table, associated with check boxes
Hi all -
Jari already helped me thereby once last week, but I'm running into some new questions.
http://Apex.Oracle.com/i/index.html
workspace: Leppard
username: Guest
PW: app_1000
Application: MyTestApp
Maybe I need to split these into two questions, if so just let me know.
Question 1: On the first tab (tab 1 report) I have a simple tabular presentation based on the EMP table. The column of the box on the far right, when checked restores the Ename column readonly. The problem is that it only works one way. Unchecking the checkbox is not cancel the read-only.
It is javascript code that I have on the page:
The attribute of the element on the checkbox column isfunction test(pThis) { //get the current row index on change var currIndex = $('input[name="'+pThis.name+'"]').index(pThis); // check current items value (return value of lov) if (pThis.value=='Y') { $('input[name="f02"]')[currIndex].style.backgroundColor = "LightGrey"; $('input[name="f02"]')[currIndex].readOnly=true; } else if (pThis.value=='N') { $('input[name="f02"]')[currIndex].style.backgroundColor = "Red"; $('input[name="f02"]')[currIndex].readOnly=false; } }
(It seems to work although I use onClick or onChange so I don't know if that makes a difference).onClick="javascript:test(this);"
But the main problem is that the code does not recognize the value of "n" in the column. I checked with firebug and columns I have untick are definitely on 'n', but I can't get javascript code to recognize this value. Even if I take the "ElseIf" code and just change the first part to (pThis.value ==' no) still does not work. There seems to be something with the value "n" recognize themselves do not, but I can not understand.
Question 2: on the second tab - tab report 2. The same report but this time, I use a javascript character counter similar to that described in the sample application of the Dene (page 276 > http://apex.oracle.com/pls/otn/f?p=31517:276:19207673535900:NO). The counter of characters on the Ename field include javascript and an expression of HTML on the Ename column. The counter works fine, but now, the javascript code to make the column readonly work over all.
Any ideas on these are much appreciated!
Thanks in advance,
John- Please please understand what HTML is generated and how to inspect. Once you do this, you can easily eliminate many problems with selectors not seeming to work. A text box is not an input for example element.
- Boxes rely on the checked, not the value property. Apex circumvents this by creating a hidden extra element which will get the value based on the checked property of the visible checkbox
- Do not use these horrible onchange and onclick attributes :( Use a dynamic action or jQuery to bind events.
- Do not apply a style via javascript. Use CSS for this drive as with jQuery, you can easily add, remove, or toggle the classes too. And if you know jQuery selectors, you can understand css selectors because they are substantially the same.
- I don't know why people insist on using rowIndex or substringing ID. I find it unnecessary and more complex that the alternative (crosses with jQuery)
- The difficulty also in things into action through pagination. Running on just the visible page it of a trifle, but through paging requires more work than just check "fire on loading the page" is not enough. I'm sure you'd want your ENAME either red or gray column and readonly as soon as the page is loaded, and not when you start typing in the box...
- Please please understand what HTML is generated and how to inspect. Once you do this, you can easily eliminate many problems with selectors not seeming to work. A text box is not an input for example element.
Form 1 tab: copied to Page 12 and made my changes here:_
- OnChange on ENAME. This removed. No idea why you would need it there seems a crutch for not having the field in the desired state when the page is loaded.
- OnClick on CHECKBOX. Removed what I hate these attributes. Replaced by a dynamic action.
- Dynamic action "checkbox: ENAME readonly value."
- Event: After refresh
- Selection type: region
- Region: Form of tab 1
- No condition
- Scope of the event: static
- Real Action
- Run the JavaScript Code
- Fire on loading the Page: YES
- Code:
//at page load and after each region refresh: //each: check all checkboxes and set readonly on ename accordingly //click: when the checkbox changes, change ename accordingly $("td[headers='CHECKBOX'] input[type='checkbox']:visible") .each(function(){checkReadonly(this);}) .click(function(){checkReadonly(this);});
- Run the JavaScript Code
- Event: After refresh
function checkReadonly(pCheck){
var lCheck = $(pCheck);
lCheck.closest("tr")
.find("td[headers='ENAME'] input:visible").each(function(){
$(this).prop("readonly", lCheck.prop("checked"));
});
};
td[headers='ENAME'] input{
background-color: red;
}
td[headers='ENAME'] input[readonly]{
background-color: lightgrey;
}
CSS works so much better for this than the application of style through js...
Form 2 tab: copied to Page 13 and made my changes here:_
- OnChange on ENAME. This removed. No idea why you would need this.
- OnClick on CHECKBOX. Removed what I hate these attributes. Replaced by a dynamic action.
- Dynamic action: identical to page 12, just modified trigger area
- Changed input to TEXTAREA when it is required:
- Page > function and global variables declaration
function checkReadonly(pCheck){ var lCheck = $(pCheck); lCheck.closest("tr") .find("td[headers='ENAME'] textarea:visible").each(function(){ $(this).prop("readonly", lCheck.prop("checked")); }); };
- Page > CSS Inline
td[headers='ENAME'] textarea{ background-color: red; } td[headers='ENAME'] textarea[readonly]{ background-color: lightgrey; }
- The f_set_counter function, I changed a bit: there are 2 straps too, put a semicolon at the end of each line.
-Change $x (node) .value $s (node, value) and $v (node)
-changed $x (node) .innerHTML to $(node) .text)
I know: it worked. I like this better. OCD? :/
function f_set_counter(pThis,pLength,pMaxLength,pReset)
{
if (pLength>pMaxLength){
alert('The maximum length of '+pMaxLength+' exceeded.');
$s(pReset, $v(pReset).substring(0,pMaxLength));
$("#"+pThis).text(pMaxLength);
}else{
$("#"+pThis).text(pLength);
};
};
Published by: Tom on February 15, 2013 12:48
Made a mistake in the case of dynamic action :->, click after refresh!
I have a form with checkboxes that I could finally work partially. However, there is a problem. If you forget to check the box (Yes or no), you get the error element is Undefined. If you check the box, there is no problem and the form through email. How can I fix the error, if the boxes are not checked. Any help would be appreciated,
Best,
Joy
Hi Joy,.
I found that you are wrongly using the isDefined().
You will need to use isDefined() in your presentation page.
For example, in your mailto page
#form. Confform #.
#form. First name #.
#form. LastName #.
#form. Title #.
and so on for each label you print, you have these conditions.
Take out isDefined() check also in your first page. they should not be there.
Hide a dynamic button with check boxes and actions.
Good, everyone.Now I'm trying to do is create a dynamic action to hide a button
When a box is selected. It would be simple if the checkbox
created dynamically.
I have a report that contains a dynamically created checkbox column hollow
the apex_item.checkbox command. I want to be able to hide a button if no
that the boxes have been checked, but I don't know how to make a reference to
This point when creating a dynamic action.
You guys could help me once again?
Thanks for the attention.
Best regards, Leandro Freitas.
Try this:
1 put a class on the checkbox example
apex_item. CheckBox (p_idx-online 1, p_value => NOM_PAPEL, p_attributes => "class ="mycbclass"onChange = hideRevoke ();', p_checked_values-'UNCHECKED' online")
2. create a dynamic action:
Event: change
Type of selector: jQuery Selector
JQuery selector: input.mycbclass
Condition: Expression JavaScript
Value: $('input.mycbclass:checked').length > 0
Action: hide
Create opposite: checked
Selection type: Elements (s)
Article (s): click on your button
Maybe I should point out that if you use a model button then you will need to ensure that the model has a button id so that the dynamic action allows to identify the button.
Rod West
Published by: Rod West February 24, 2012 13:52
Can someone help me wit hmy problem. I have a Fisher with plenty of tables in it, some cells of the table are text boxes, or at least they were when I developed it. Now I need to modify some cells and for some reason I can't do because the cell is not a text box, but became (untitled < draw >) I can't change its return type to the text. Can someone advise what to do whitouh retype the text again in the new cell.
Thanks in advance
Hello
Looks like the cell has lost its identity. I'd be inclined to objects in the name that you develop the form because it makes the script easier and less likely for LC/Acrobat to become confused.
All I can suggest is that you select a good cell and then click the XML Source tab select the 'good' XML from
Word of warning, tinkering in the XML Source tab can severely hurt your form - work on a preliminary version!
If it works, rename each object (certainly within lines) to unique names.
Good luck
N.
Select and deselect all buttons to control list box with check boxes
I am using the two buttons on labeled select all deselect others all the. These two buttons will check either or unckeck the boxes to tick in a listbox control. I've included the code for the list of regions below. The two buttons are on a separate mxml file. They are labelled by functions id as "selectall" and "deselectall. I think I need to bind the buttons to an arrary you select or clear each checkbox in the list control. Any help you can give me would be great.<? XML version = "1.0" encoding = "utf-8"? >
"" < mx:Canvas width = "166" xmlns:mx = " http://www.adobe.com/2006/mxml ' xmlns =" * ">
< mx:List width = "166" dataProvider = "{region}" >
< mx:itemRenderer >
< mx:Component >
< mx:Canvas >
< mx:CheckBox id = "complete" selected = "{data.selected}" click="data.selected=complete.selected"/ > "
< mx:Text id = "TaskName" x text = "{data.label ="23"} ' selectable ="false"/ >"
< / mx:Canvas >
< / mx:Component >
< / mx:itemRenderer >
< / mx:List >
< mx:Script >
<! [CDATA]
Test data for the usefulness of the CBA.
[Bindable]
public var regions: Array =]
{finished: false, label: ' Carolina/Tennessee'},
{finished: false, label: "Central Texas"},
{finished: false, label: "Florida"},
{finished: false, label: "Georgia/Alabama"},
{finished: false, label: "Great Plains"},
{finished: false, label: "Houston/Gulf Coast"},
{finished: false, label: "Illinois/Wisconsin"},
{finished: false, label: "Kansas and Missouri"},
{finished: false, label: 'Los Angeles'},
{finished: false, label: 'Mountain'},
{finished: false, label: "New England"},
{finished: false, label: "New York underground"},
{finished: false, label:' North CA/Nevada '},
{finished: false, label: "Ohio"},
{finished: false, label: "Pacific Northwest"},
{finished: false, label: "Pennsylvania"},
{finished: false, label:' Philadelphia Tri-St'},
{finished: false, label: "San Diego"},
{finished: false, label: "Southwest"},
{finished: false, label: 'Upstate New York'},
{finished: false, label: "Balt/Washington/Virg"}
];
[]] >
< / mx:Script >
< / mx:Canvas >
First, you must use an ArrayCollection collection and not a table:
var acRegions:ArrayCollection = new ArrayCollection (regions)
You will need to loop through the collection ArrayCollection and set the completed property.
Be sure to use the API of collection correct ArrayCollection to update properties for events will be issued to update the display.
Tracy
Can I have a text box in a form that could be developed to adapt the content and thus to push the rest of the form down and possibly on another page? If it's gibberish, sorry example, if, after the section: 'Equipment will be used' he could go line 1 or 2 pages, but the rest of the form must retain the format? that is, footers and all other notes below the expansion box and could continue to page numbers?
Shaun
Try the following steps to test...
Copy the data file (expand.xml) to a folder
Launch of LiveCycle Designer ARE and open the form ExpandField.pdf
Select the range of "Data View" and right-click on "DataConnection.
Select "properties of the connection.
Click "next".
Navigate to the location where you saved the file 'expand.xml'.
Click on "Finish".
In addition, confirm the following...
File > form > overview > view Type > interactive form
To display the form with the data, select the tab 'Preview PDF'
Concerning
Steve
Feature Request: more properties with check boxes and option buttons
If you insert a radio button on a Web site, the pallete property inspector (right of expression? in German it is called "Akbulak") should provide checkboxes to 'disable', 'read only' 'access key' and a little more.This properties can be defined in the code manually, but not in the palette.
WebZopp wrote:
> If you insert a radio button on a Web site, the pallete property inspector
> (right of expression? in German it is called "Akbulak") should offer
> checkboxes for 'disable', 'read only' 'access key' and a little more.
> This properties can be defined in the code manually, but not in the palette.
I agree that it is a very sensible suggestion. (The correct name in)
English, by the way, is the property inspector). Since it is a
User Forum, your feature request is not likely to be seen by the
good people at Adobe. Use the request/Bug report form to do a
official request. Most people who make requests through the agent
form, most likely Adobe is aware.
http://www.Adobe.com/cfusion/mmForm/index.cfm?name=wishform
--
Adobe Community Expert David Powers
Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
Author, "PHP Solutions" (friends of ED)
http://foundationphp.com/
Hi all:
I'm really new to this world Live Cycle and I have questions in order to create a form with check boxes are optional.
That's what I mean:
Dress and appearance Looked clean and well maintained? Yes No r r Seemed confident? Yes No r r First impressions were good? Yes No r r
I just want to be able to click on one of the boxes (or not) on each issue. I try for hours to read scripts and I don't understand.
Please any help will greatly aprecciated.
You want behavior Radio button but with a box look and feel. Change your objects radio button and make sure that the buttons for each question are under the same radiobuttonlist in the hierarchy (this is what implements exclusivity). Now, on the Radiobutton objects themselves, you can change the appearance of a hollow square and now they look like boxes but act as radio buttons.
Paul
Maybe you are looking for
-
Receive a DNS Solution Yahoo error handler Page and some pages are not displayed
I recently downloaded the Stuffit Expander and since then Firefox has not been the same. I get a DNS Error Handler Solution Yahoo page, when I do a search sometimes. And now, some pages don't display even for me when they should. How can I get rid of
-
Windows, 3 beeps and new graphics card will not start
Hello has obtained a HP p6-2105eo, windows 7. At a radeon HD 5670 graphics card that works very well. Bought a Gigabyte GeForce GTX650 2 GB. Can see screen start and seems it does not respond by clicking the Esc key. I hear 3 beeps with a delay of 20
-
Hello.. I installed IE8 on my Satellite A300/U01... Can someone tell me how can I roll back to IE7?I don't have a setup file. I want the same which is installed with Windows Vista.
-
Computer is returned to the factory settings. Can I still recover my photos?
Original title; My computer does not function properly for months, 8, he had my go back to the original Setup and I lost my photos. How to recover my photos or go back to my old settings before the 8th? I lost all my settings since the January 8. M
-
I have an opportunity D530 CMT P4 3 GHz 1 GB RAM 40 GB HD. I wanted to get a new power supply, that it works very well, but want to add a better video card. I think the power is 240, but not sure. But I wanted to know what PSU max, this system can ha