Hide/show subforms with a click of a radio button
I'm totally in this new and have very little idea what I'm doing. I received my form to show/hide questions based on the click of a radio button. My next question how do I eliminate the white space between issues where the subform of questions is "hiding" until the user clicks on the radio button?
Thanks in advance to anyone who can help me with this!
You can be the definition of property presence 'invisible '. Which is why this white space appears on the screen.
Try to set the value of 'hidden', it will remove the space.
If you use subform1.presence = 'invisible', the subform is not visible for the user but occupy space on the form.
If you use subform1.presence = 'hidden', the subform is not visible for the user and also takes up no space on the form.
In addition, the Page subform content type should be changed to be "cast" and the form should be saved as XML dynamic.
You must do the following to make the dynamic shape.
(1) file menu Goto-> properties of the form and select the default values tab change the default rendering in dynamic XML form Format
(2) select the Preview Tab. Set the type of overview as a form 'Interactive form' and preview Adobe XML dynamic XML form
(3) Finally, while saving the PDF select Save As Type 'Adobe Dynamic XML Form.
Thank you
Srini
Tags: Adobe LiveCycle
Similar Questions
-
Show/hide an element with the click of a button - Script works does not in Firefox
Hi all
Basically, I'm looking for show/hide a DIV with the click of a button.
The script works in IE but fail in FF.
I am sure that I am the problem here.<script type="text/javascript">
function toggle(box) {
var el = document.getElementById('box');
el.style.display = (el.style.display != 'none' ? 'none' : '' );
value = document.getElementById('content').value;
if(value=="Show Calendar"){
document.getElementById('content').value="Hide Calendar";
}
else{
document.getElementById('content').value="Show Calendar";
}
}
</script>
<style type="text/css">
#box{
background-color: #C0C0C0;
height: 100px;
width: 100px;
}
</style>
</head>
<body>
<div id="box">
</div>
<input id="content" value="Hide Calendar" type="button" onclick="toggle(box)" />
</body>
</html>WE
He also worked if you had changed-
on this subject.
-
How to show or hide the region of the shuttle during the click on the radio buttons?
Hello
I'm new to JDeveloper. Here is my requirement.
1. create 2 radio buttons: Yes and no and default displays "" selected radio button.
2. create a region of shuttle with select query in VO.
Query is:
Select 'No group' for_user, for_pkg double null
Union
Select "Company" for_user, for_pkg "SEGMENT1" double
Union
Select 'Rental' for_user, for_pkg 'SEGMENT2"double
Union
Select 'Cost center' for_user, 'SEGMENT4' double for_pkg
Union
Select 'Project' for_user, 'SEGMENT5' double for_pkg
Union
Select "Intercompany" for_user, "SEGMENT8" for_pkg of the double
order by nulls first for_pkg
3. initially hide the region of the shuttle during the loading of the page.
4. click on the radio button 'yes', display area of the shuttle with values at the head of list of query VO and empty list leak.
5. new click on the 'no' radio button, he must hide region and so screen shuttle shuttle dynamically according to the selected option button.
But my problem is I am able to hide area shuttle when the page loads at the beginning and after that, when I'm clicking 'Yes' radio button, is just to display area shuttle empty without value in the main list and once when I'm clicking 'No' radio button, it should hide area shuttle but he's not hiding. I used the RPP to show or hide the area Shuttle under certain conditions. I use JDev 10.1.3.3.0 version as we Oracle EBS version 12.1.2 in our society.
Please find the attached draft and suggest me proper with examples of sample approach.
Monika,
I tried to get this working in the lower version of Jdeveloper and looks like it works.
Can you make the change below and see what happens.
1. modify your query to VO as below: (I replaced null with SEGMENT0)
select 'No Grouping' for_user, 'SEGMENT0' for_pkg from dual union select 'Company' for_user, 'SEGMENT1' for_pkg from dual union select 'Location' for_user, 'SEGMENT2' for_pkg from dual union select 'Cost Center' for_user, 'SEGMENT4' for_pkg from dual union select 'Project' for_user, 'SEGMENT5' for_pkg from dual union select 'Intercompany' for_user,'SEGMENT8' for_pkg from dual order by for_pkg
2. place VO execution to the processFormRequest:
public void processFormRequest(OAPageContext pageContext, OAWebBean webBean) { System.out.println("In process Form Request"); super.processFormRequest(pageContext, webBean); OAApplicationModuleImpl appModule = (OAApplicationModuleImpl)pageContext.getApplicationModule(webBean); String eventParam = pageContext.getParameter(EVENT_PARAM); System.out.println("eventParam: " + eventParam); if ("showHideShuttle".equals(eventParam)) { // appModule.invokeMethod("deletetrailing"); System.out.println("Inside If"); OAMessageCheckBoxBean messageCheckBoxBean = (OAMessageCheckBoxBean)webBean.findChildRecursive("checkBoxBean"); System.out.println("messageCheckBoxBean : " + messageCheckBoxBean); String messageCheckBoxBeanVal = (String)messageCheckBoxBean.getValue(pageContext); System.out.println("messageCheckBoxBeanVal: " + messageCheckBoxBeanVal); if ("Y".equals(messageCheckBoxBeanVal)) { OAViewObjectImpl shuttleVO1 = (OAViewObjectImpl)appModule.findViewObject("ShuttleVO1"); if (shuttleVO1 != null) { shuttleVO1.setWhereClause(null); shuttleVO1.setWhereClauseParams(null); shuttleVO1.executeQuery(); System.out.println("Executed Query : " + shuttleVO1.getQuery()); } OAViewObjectImpl shuttleVO2 = (OAViewObjectImpl)appModule.findViewObject("ShuttleVO2"); if (shuttleVO2 != null) { shuttleVO2.setWhereClause("1=2"); shuttleVO2.setWhereClauseParams(null); shuttleVO2.executeQuery(); System.out.println("Executed Query1 : " + shuttleVO2.getQuery()); } } String[] name = { "RenderAttr1" }; String[] val = { messageCheckBoxBeanVal }; Serializable[] params = { name, val }; Class[] paramTypes = { String[].class, String[].class }; appModule.invokeMethod("setXXCustomPVOValues", params, paramTypes); } }
3. move Spel link shuttle Bean for the region of header above.
Some useful links for the shuttle Bean:
Technology blog based in Java of Sushant: 13. Area of application OFA shuttle
Framework OA Blog: control of the shuttle as part of OSTEOARTHRITIS
See you soon
AJ
-
Multiple choice quiz slides - long delay when you click on the radio button
Using Captivate 5.5 and slides of quiz of multiple choices, when previewing the project, sometimes there is a delay after clicking on a choice. The delay is sometimes so long that the learner may feel like they are not able to select a radio button option. Does anyone know a way to speed up the appearance of the dot that appears when a learner clicks on a radio button?
Hi Jay,.
I would have asked to see the chronology. In a blog I explains the features of the glide of the Question and think that you can't find the answer here:
Short answer: on the timeline, you'll see a suspension point, which is used twice for the slides in question (see the two-step process in blog). Default setting is to have only one break point at 1, 5secs for a default slide duration of 3secs. The actions on the success and after the last attempt (see properties Quiz, accordion Action) are both set to "continue". This means that after the second stage when you expect to proceed immediately to the next slide, the reading head is just to continue until the end of the slide (length by default = 1.5secs). Wondering if you perhaps make longer editing.
What is possible: drag the point of suspension on the Timeline, close to the end of the chronology of the question slide. Or set the action to 'Go ├a next page' instead of continue.
Not sure if it will help because I do not see the timeline.
Lilybiri
-
When my form is rendered, it can contain multiple 'case' of a subform full page. So basically, I have a subform labeled "Info" that spans a full page. Depending on how the form is used when a new instance is added to the document it essentially new creates an entire page.
What I'm trying to hide all instances of subform ("Info"), except the LAST instance that is always on the last page.
Theoretically, by hiding all previous subform instances (for example, 1-4) and keep only the last instance, it will reduce the number of pages 5-to-1.
Hope it makes sense.
SO I guess I need a way to get the number of instances of complete subform, then hide all instances, but the last instance (via a button click).
Thanks in advance for your help.
I belive I've thought about it.
-
Hidden, Visible and back to hidden with the help of a radio button
OK, this could be really simple for a person to answer.
I have an option button that I use to switch between two list boxes with multiple lines of text (so visible and hidden). Here's the problem, when I switch the radio back and forward button, I have two list boxes displaying their notes at the same time. I would like to have the option button display a messages both when you switch between them. Here is my script.
Radio Button named Violation:
Form1. #pageSet [0]. Page 1. .Act of #subform [0] [1]. Violation::click - (JavaScript, client)
If (this.rawValue == null) {}
Notes.Presence = 'hidden ';
}
else {}
Notes.Presence = "visible";
}
Radio Button named Suspension:
Form1. #pageSet [0]. Page 1. .Act of #subform [0] [1]. Suspension::click - (JavaScript, client)
If (this.rawValue == null) {}
Notes2.presence = 'hidden ';
}
else {}
Notes2.presence = "visible";
}
Notes and billets2 are list boxes. Violation and Suspension are radio buttons. Is this correct? If so, are Violation and Suspension in a group of exclusion?
This is the requirement, breach should view Notes and hide billets2 and Suspension must hide the Notes and display billets2?
Steve
-
Run the report with parameters when, select the Radio button
HelloW Guys
I run my report with the report parameter form now, I want to when I select a radio button and then check if my only the list value = 1 then run A report if my only the list value = 2 then launch report B
Report A and B contain the same parameter
What can I do?
I am writing this trigger button
DECLARE+.
al_button NUMBER; +
pl_id PARAMLIST; +
pl_id2 PARAMLIST; +
START to+.
IF: type = 'A' THEN+.
IF: RepType = "1" THEN+.
* pl_id: = Get_parameter_list ('repPara'); -create a parameter list * +.
IF not Id_null (pl_id) THEN+.
Destroy_parameter_list (pl_id); +
END IF; +
pl_id: = Create_parameter_list ('repPara'); +
Add_parameter(pl_id,'PARAMFORM',text_parameter,'NO'); +
* Add_parameter(pl_id,'style_from',text_parameter,:style_from); -passing style ano parameter * +.
* Add_parameter(pl_id,'style_to',text_parameter,:style_to); -passing style not as parameter * +.
* Add_parameter(pl_id,'date_from',text_parameter,:date_from); -passing date as parameter * +.
* Add_parameter(pl_id,'date_to',text_parameter,:date_to); -by the way that date as parameter * +.
* Add_parameter(pl_id,'category',text_parameter,:category); -passing as the parameter category * +.
Run_product (rapports,'E:\inventory\Dispatch\d_style_wise_dispatch_Stitching_report.rdf ',+)
asynchronous, runtime, the file system, pl_id, NULL); +
ELSIF: Reptype = "2" THEN+.
pl_id2: = Create_parameter_list ('repPara2'); +
Add_parameter(pl_id2,'PARAMFORM',text_parameter,'NO'); +
* Add_parameter(pl_id2,'style_from',text_parameter,:style_from); -passing style not as parameter * +.
* Add_parameter(pl_id2,'style_to',text_parameter,:style_to); -passing style not as parameter * +.
* Add_parameter(pl_id2,'date_from',text_parameter,:date_from); -passing date as parameter * +.
* Add_parameter(pl_id2,'date_to',text_parameter,:date_to); -by the way that date as parameter * +.
* Add_parameter(pl_id2,'category',text_parameter,:category); -passing as the parameter category * +.
Run_product (rapports,'E:\inventory\Dispatch\d_style_wise_dispatch_Delivery_report.rdf ',+)
asynchronous, runtime, the file system, pl_id, NULL); +
END IF; +
END IF; +
END; +
Need help
Concerning
Wasim IsmailDear Shahzab,
As the parameters except a report type are the same, you can accomplish this task by comparing the type of report just before Run_product.
You need to re - write the code as below:
DECLARE
al_button NUMBER;
pl_id PARAMLIST;BEGIN
IF: type = 'A' THEN
IF: RepType = "1" THEN
* pl_id: = Get_parameter_list ('repPara'); -create a parameter list *.IF this is Id_null (pl_id) THEN
Destroy_parameter_list (pl_id);
END IF;pl_id: = Create_parameter_list ('repPara');
Add_parameter (pl_id, 'PARAMFORM', text_parameter, 'NO');
Add_parameter(pl_id,'style_from',text_parameter,:style_from);
Add_parameter(pl_id,'style_to',text_parameter,:style_to);
Add_parameter(pl_id,'date_from',text_parameter,:date_from);
Add_parameter(pl_id,'date_to',text_parameter,:date_to);
Add_parameter(pl_id,'category',text_parameter,:Category);IF: type = 'A' THEN
IF: RepType = "1" THEN
Run_product (rapports,'E:\inventory\Dispatch\d_style_wise_dispatch_Stitching_report.rdf ',)
asynchronous, NULL to run, the file system, pl_id,);
ELSIF: Reptype = '2'
Run_product (rapports,'E:\inventory\Dispatch\d_style_wise_dispatch_Delivery_report.rdf ',)
asynchronous, NULL to run, the file system, pl_id,);
END IF;
END IF;
END;Concerning
Fassi Fihri -
How to hide the subform with index
Hi all
I have 3 subform named as:
1 Receipt_subform [0]
2 Receipt_subform [1]
3 Receipt_subform [2]
I am currently only showing Receipt_subform [0] and hide the Receipt_subform [1] and Receipt_subform [2].
I have displayed only the Receipt_subform [1] and Receipt_subform [2] open user click on add a new function table.
How can I view the Receipt_subform [1] and Receipt_subform [2] of javacript.
Hi Christian,
You can do but it will solve the nodes. That's because all three subforms have the same name "Receipt_subform". [1] is a tag indicating the instance on a zero according to the numbering system.
If we assume that three subforms and the button are on the subform, even then the following should work (if they are not, you must include the complete reference):
xfa.resolveNode("Receipt_subform[" + 1 + "]").presence = "visible"; xfa.resolveNode("Receipt_subform[" + 2 + "]").presence = "visible";
You could do a loop, but it hardly seems worth it for both objects.
I would recommend having a different name for each subform, as this will make it easier to refer to each of them.
Hope that helps,
Niall
-
Hide/show element at the click of another symbol
Hello
I want to hide an element by click. The item that is clicked is inside another symbol, which one that should be hidden.
Please tell me how I can handle this.
Thank you very much
// Get the symbol element "kitten_1" and hide the element "kitten_paw"
sym.getComposition().getStage().getSymbol("kitten_1").$("kitten_paw").hide(); -
Hide / show the area to click on the link
Is it possible to see the region based on clicking on the link in the area of differentiation of the same page
Published by: 893185 on April 30, 2012 13:42Hello
Yes, you can do it.SELECT 'click to view' link,
text_description from test_table;Lets say you have a region with static id "Show_Region" to be posted on click.
-
I have a friend who says that he used to be able to share a web address, that he found interesting to a friend with a puch of a button. I always do the old-fashioned cutting and pasting in my webmail but way he says that it is / was a more effective way. Can anyone help my friend find his magic button of forward-this-url-to-a-friend?
Thank you
ericrm305 said
I have a friend who says that he used to be able to share a web address, that he found interesting to a friend with a puch of a button. I always do the old-fashioned cutting and pasting in my webmail but way he says that it is / was a more effective way. Can anyone help my friend find his magic button of forward-this-url-to-a-friend?
Thank you
Oh! Answered 10 seconds after my friend left. Click file > email link > if your drop-down file menu has disappeared - the ALT-click and it should reappear magically. Anyway, it is good to finally have an account here, I'll try to come up with a more difficult question next time. I have a help etc search but could not find an answer until I jumped in menu drop-down.
See you soon
-
I've created the new folder. When I left click it open in the search window. If I right click on it, drop-down box and select open and it opens on the window of the folder as it should. How can I get the folder to open in the right window when I left click rather than having to do the extra step by clicking on the right, and then open?
Try this link:
'Search Companion starts if you double-click a folder '.
<>http://support.Microsoft.com/kb/321186 >HTH,
JW -
Help with effects of roll and radio button
I searched the forum help and google and have not yet found an answer. Somehow I am trying to add a bar of menus with an option to sign up to a mailing list, I built bar and every thing becomes opaque number of specific pixels, however I can not understand how to apply the effect to scroll to the option button. the check mark opacity isn't check-able. If I missed a previous post or some info on this, it would also be a great help to be headed in the right direction.
You can settle scroll to only button but the form itself. In the fill option, you can apply opacity.
Thank you
Sanjit
-
Automatic submit after click on a radio button (multiple choice)?
How can I realize it. the advanced options of answer does not...
Advanced answer option:
go to the 4 card and give the feedback message
does not work
-
How to set the initial state to hide/show buttons on opening PDF files?
InDesign offering a wonderful object multi-state capacity which unfortunately does not work in PDF files. It took a bit of research for me to come with this information, the UI program itself gives indications that this should work. (Why not maybe another forum of discussion.)
So, I create an interactive PDF using buttons to hide/show specific paragraphs (which are also implemented as buttons because only the buttons and forms can be hidden or shown, AFAIK).
I've set up a PDF created via InDesign using the six control keys and seven paragraphs - one of these paragraphs is the initial state that I want to see when the document is opened. As long as the PDF file that I create is distributed, that's how it works: an initial paragraph appears, buttons can be clicked and the stuff of Heroes appears the mark.
However, a colleague thoughtfully saved the PDF file (so it could rename something more to his liking). When he does this, he left one of the displayed subsidiary paragraphs, rather than the initial paragraph I intended... and of course, this is the version that came out to the customer.
Question: Is there a way to set the initial state to hide/show buttons when a PDF document is opened first, regardless of the State in which he could let or saved? I guess it's sort of ON OPEN event that would allow me to define an initial state as a safety net to the way I save the original document. Obviously, the PDF AS I DELIVER IT will pave the way, I want it, but I'm trying to overcome the appearance of the Murphy's law of a document that can be re-recorded in another State. An event which OPENED on that cure.
Thank you.
in this case you would have been better if you had locked the PDF file in order to prevent changes ANDS record as actions...
Maybe you are looking for
-
When I click on emails in the Inbox of one of my email addresses, nothing appears (or in the case of one of them, a big block of characters is displayed, as this 'C + Z3dc7paG + d3jJtavOUpob6ulqppnp'). This only affects the emails until the last days
-
Re: Satellite P500-12F - cannot install the new nVidia display driver
Good evening I'm sorry for stupid question, but I don't know what to do. I have the Satellite P500-12F. I tried to download the new graphics drivers for the NVidia card, I went to the site of NVidia and downloaded a new driver, which dates back to De
-
P6520f video card / graphics card
I have a p6520f that I think need a new video card or graphics card (is there a difference?). Googling, I think that's the problem. The screen does, not even in safe mode, but the problem is not the monitor because I tried a second monitor and two
-
help unistalling fake windows OS
Here's my problem. I gave my second pc (ACER) to a guy who claimed to be a tech and could remove what we thought was a virus. After returning from my pc, I found that it has installed a non-windows operating system 7. The theme looks like windows 98,
-
HP Photosmart B209a more: replacement ink
I bought my printer in the United States and now live in the Denmark. For my printer cartridges 564. Here in Denmark, the printers in stores only go up to 364. It seems that they are the same cartridges as the 564, but until I open the package and