Forms - button to repeat a section/row
Hi All, This is the first time I've posted to the Adobe forum, so please forgive me if I sound like I have no idea - well, I don't really!
I need to create a form that has a table/section that we would like our reader to be able to click a button and it repeats the section. For example if it is to provide details of previously held jobs and I have a table with Date, Company Name, Role Title, Duties Held etc - we don't know how many previous jobs they have had, so it would be good to have one section and then a button and they can click it each time they need to add the details rather than having lots of tables that may or may not be used wasting space. Am I making sense?
I have the basic form set up (well I am refining it at the moment) and have seen in Livecycle that a row can be added and deleted, but I am on a Mac and can't see how they did it. I haven't had experience with 'events' or javascript so anything to explain it clearly would be wonderful. I've tried Googling for help but I don't think I'm using the correct wording to find useful results.
Thanks in advance for your patience and assistance.
Marie
I do not think this is possible in Acrobat, but you can check in the Designer forum to see if it can be done using designer.
Similar Messages
-
Repeating multiple Sections within a form
Good Day All;
I have designed a project status report form for our section. The user is able to repeat rows and repeat a section when they want to add a new project. Both the rows and the section are contained in a single subform.
I have been asked if it would be possible to add a button that would work a wee bit different. It word break down something like this
I basically have 3 sections.
Section 1 Division. This contains 3 fields
Section 2 Project. This contains 3 fileds
Section 3 details this contains 2 fields
Button1 the user would be able to repeat a row (Section 3). Adding items to a project.
Button2 the user would be able to add new Project, which would also contain section 3
Button3 the user would be able to add a new division, which would also contain section 2 and section 3.
I am thinking that that each section would have to be contained inside a subform set???
Please let me know if I have now gone off the deep end…. As well any suggestions would be great
Thanks All
ChompHi Chomp,
I am not sure subform sets are necessary if you define your subforms like this
Form
-> Section1 ( subform)
-> Section2 ( subform)
-> Section3 ( subform)
i.e. section1 contains the subform section2 and section2 contains the section3 subform
each section would need to have the setting on the binding tab set to allow the subform to repeat
"Repeat Subform for each data item"
and then the buttons would have something like this on the click event
(assuming the buttons are included in their respective sections)
this.parent.instanceManager.addInstance (true);
// if you place the buttons elsewhere you will need to specifiy the correct path to the subform you wish to add.
hope this helps
Malcolm -
Is possible to take the Infopath form with two repeat section in one SharePoint list
Is possible to take the Infopath form with two repeat section in one Sharepoint list
Take two repeat section and put them one bellow to other one in a SP list.
The motive is that the first repeat section is based in account own by the requestor and the second repeat section is when the requestor is doing backup time for some one else where need to log the amount of time that spend in the peer account.
I have basic logic in the form when requestor said Are you doing backup for some else? and press YES it is be able to use the second repeat section.
Le me know how much pain full is going tobe or not..
–Q1: Is possible to do this ? With codeless or not
–Q2:What steps I need to do to accomplish this? feasible or not
the following picture give a better idea of what I am looking to accomplish:
CRISTINA&amp MICROSOFT ForumHi,
Thank you for your question. I am trying to involve someone familiar with this topic to further look at this issue. There might be some time delay. Appreciate your patience. Thank you for your understanding and support.
Thanks,
Linda Li
Forum Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
[email protected]
Linda Li
TechNet Community Support -
Form button doing both update and moving to next row
How do I get a form button to do an update of the shown row, and then move on to the next row in the resultset?
I've tried to assign both the doQuery; and doNext; functions in the same PL/SQL button event, but with no luck.Hi,
Call this code in the plsql event of the update button.
--- Type your PL/SQL code here...
doUpdate;--- This is the default handler
onNEXT(
p_block_name => p_block_name ,
p_object_name => p_object_name,
p_instance => p_instance ,
p_event_type => p_event_type ,
p_user_args => p_user_args ,
p_session => p_session);
--- ...and here, thanks...
Thanks,
Sharmila -
How do i repeat a section of the form can i copy and paste?
How do i repeat a section of the form with out creating it again.
Is there anything special about your drop downs (lots of choices)? Are the drop downs part of the selection? You may need to select all of the fields in the section then add the drop downs to the selection by using control-click (command-click on Mac).
-Jeff -
Problem with buttons in repeated table header
I have a bunch of tables that expand/contract at the click of a button in their respective header rows.
The problem I'm having is when a table breaks to another page the button doesn't work properly in the repeated header - the scripted value isn't making it to the repeated button (I've also tried checkboxes).
Is there any way to make this happen? Should I try using variables to store a flag or something like that?
https://acrobat.com/#d=m7zuQYiUoFrtz5isD7rErQThis issue is that the second header is an instance of the first, so all unmanaged relative code breaks. I would hazzard a guess to say that your add code looks like "$.parent.row1.instanceManager.addInstance(1)." This will break, as the "second" header row no longer sees the 'table' element as it's parent.
Changing to code to a static reference will fix it... i.e. xfa.form.form1.table1.row1.instanceManager.addInstance(1).
This should solve it for you... if not, let me know.
- Scott -
Button to delete all empty rows
I am in the process of creating an interactive form that has a button that add rows for the user to input issues and another button to add follow-ups to those instances. There are 3 different sets of these. However, we do not want to add a delete button to all rows, to allow for accidental deletion of already inputted data. I would like to create a button that will delete all empty rows, including all subforms. Either that, or upon saving the document, all empty rows would be deleted - whichever would be easier. Please help! This seems like it will be a complicated task and I am not that well versed in LiveCycle to be able to figure this out on my own.
Thank you!There is no doubt that looping through nested repeating objects is more complex:
Here is the script for the first table with follow-up rows:
// Technical
var nCount3 = VitalsSubform.Technical._Instance1.count;
for (var k=0; k<nCount3; k++)
// this is script to remove the follow-up rows in the first table only
var nCount6 = xfa.resolveNode("VitalsSubform.Technical.Instance1[" + k + "]").Table1._Row1.count;
// loop through the rows in the follow-up table
for (var i=0; i<nCount6; i++)
if (xfa.resolveNode("VitalsSubform.Technical.Instance1[" + k + "].Table1.Row1[" + i + "]").Cell4.rawValue == null)
// remove null row
xfa.resolveNode("VitalsSubform.Technical.Instance1[" + k + "]").Table1._Row1.removeInstance(i);
// recount nCount in case a row has been deleted
nCount6 =xfa.resolveNode("VitalsSubform.Technical.Instance1[" + k + "]").Table1._Row1.count;
// account for the row that is now deleted
i = i-1;
// now remove null statements
if (xfa.resolveNode("VitalsSubform.Technical.Instance1[" + k + "]").Table1.Statement.Statement.rawValue == null)
VitalsSubform.Technical._Instance1.removeInstance(k);
var nCount3 = VitalsSubform.Technical._Instance1.count;
k = k-1;
It is by no means tested and could still be flaky.
Have you considered a manual 'x'/delete button for the follow-up rows?
Here is the form: https://acrobat.com/#d=JMGUKXNQ*qMD18S3W5VxSQ
Niall -
Question: how to resize form buttons in a CSS
I have a question. I am trying to implement some PayPal features into my website with some their custom button functionality. In normal HTML, the buttons look fine. But using a CSS template, the form buttons get squashed and funny looking. Is there an easy way to resize them?
(I'm using Dreamweaver CS4 on a WinVista machine)
Any help is greatly appreciated.
-ryanand here is the ENTIRE CSS file
CSS Credit: http://www.templatemo.com/
body {
margin:0;
padding:0;
line-height: 1.5em;
font-family: Helvetica, Arial, sans-serif;
font-size: 11px;
color: #FFFFFF;
background: #FFFFFF;
h1 {
margin: 0 0 25px 0;
padding: 10px 0 10px 15px;
font-size: 20px;
font-weight: bold;
color: #ffc601;
background: #000000;
border-bottom: 1px solid #b4a08a;
h2 {
width: 235px;
height: 25px;
padding: 15px 0 0 35px;
margin: 0 0 25px -10px;
font-size: 16px;
color: #6c5b4c;
background: url(images/left_heading_background.gif) no-repeat;
h3 {
margin: 0 0 5px 0;
padding: 0;
font-weight: bold;
font-size: 14px;
color: #ffc601;
h4 {
margin: 0 0 5px 0;
padding: 0;
font-weight: bold;
font-size: 12px;
color: #999999;
text-align: center;
.rantsection {
height: 13px;
margin-bottom: 10px;
.rantsection img {
float: left;
height: 13px;
width: 13px;
border: 0px;
margin-right: 5px;
a:link, a:visited { color: #999999; text-decoration: none;}
a:active, a:hover { color: #999999; text-decoration: underline;}
.more_button a{
clear: both;
text-align: center;
display: block;
width: 60px;
padding: 1px 0;
margin-bottom: 5px;
background: #6c5b4c;
border-bottom: 1px solid #a59180;
color: #FFFFFF;
font-weight: bold;
text-decoration: none;
.download_button a{
float: right;
text-align: center;
width: 65px;
padding: 1px 0;
background: #6c5b4c;
border-bottom: 1px solid #a59180;
color: #FFFFFF;
font-weight: bold;
text-decoration: none;
img {
border: 1px solid #6c5b4c;
/* ----- Form ----- */
.form_row{
margin-bottom: 3px;
form{
margin: 0;
padding: 0;
text-align: right;
label {
margin-right: 10px;
input{
width: 130px;
height: 18px;
padding: 1px 0;
line-height: normal;
color: #99836c;
border: 1px solid #99836c;
background: #400a0a;
font-size: 14px;
select{
color: #99836c;
.button{
width: 60px;
line-height: normal;
margin: 0;
height: 23px;
/* End of Form */
#container {
margin: 0px auto;
width: 970px;
background: url(images/main_background.gif) repeat-y;
/*------------ Header --------------- */
#header {
float: left;
width: 900px;
padding: 0 35px;
margin: 15px 0 10px 0;
#title {
float: left;
width: 300px;
#sitetitle {
padding: 30px 0 10px 0;
font-size: 4.0em;
font-weight: bold;
color: #FF9933;
#sitetitle span{
font-weight: normal;
color: #FFFFFF;
#login {
float: right;
margin-top: 25px;
width: 300px;
/* -------------- End of Header------------------ */
/* --------- Banner ---------- */
#banner {
clear: both;
width: 970px;
height: 256px;
background: url(images/banner.jpg) no-repeat;
#banner_text {
padding: 60px 0 0 225px;
width: 550px;
#banner_title{
margin: 0 0 25px 0;
padding: 0;
font-size: 24px;
font-weight: bold;
color: #ffc601;
#banner_text p{
margin: 0 0 25px 0;
padding: 0;
/* --------- End of Banner ---------- */
/*--- Menu ---*/
#menu{
float: left;
width: 970px;
height: 51px;
background: url(images/menu_background.gif) no-repeat;
#menu ul {
float: left;
margin: 0;
padding: 10px 0 0 40px;
list-style: none;
#menu ul li{
display: inline;
#menu ul li a{
float: left;
width: 140px;
height: 20px;
margin-top: 10px;
padding: 0;
font-size: 1.1em;
font-weight: bold;
text-align: center;
text-decoration: none;
color: #CCCCCC;
border-right: 1px solid #CCCCCC;
#menu ul li .lastmenu{
border-right: none;
#menu li a:hover, #menu li .current{
color: #FFCC33;
/*--- End of Menu ---*/
/*--- Content ---*/
#content {
float: left;
margin: 0;
padding: 0 10px;
width: 950px;
color: #FC3;
text-align: center;
/*--- Left Column---*/
#left_column {
float: left;
margin: 20px 10px 0 0;
padding: 0px;
width: 235px;
.left_col_box {
margin: 0 0 25px 25px;
color: #AAA;
.blog_box {
padding-bottom: 15px;
margin-bottom: 15px;
border-bottom: 1px solid #220404;
.blog_box h3 a{
font-size: 12px;
color: #d3a401;
.blog_box span{
color: #99836c;
/*--- End of Left Column---*/
/*--- Right Column---*/
#right_column {
float: right;
margin: 25px 25px 0 0;
padding: 0;
width: 650px;
.right_panel_fullwidth {
float: left;
width: 650px;
padding: 0 0 25px 0;
.right_panel_fullwidth img{
float: left;
margin: 3px 10px 0 0;
.right_panel_fullwidth_content {
float: left;
width: 620px;
padding: 0 15px 25px 15px;
.right_panel_fullwidth_content p{
text-align: justify;
#new_released_section {
float: left;
width: 650px;
margin: 0 0 30px 0;
.new_released_box {
float: left;
width: 180px;
margin: 0 10px 0 15px;
text-align: center;
.new_released_box img{
margin-bottom: 5px;
#news_section {
float: left;
width: 310px;
margin: 0 25px 0 0;
.news_box {
float: left;
width: 280px;
margin: 0 15px 25px 15px;
.news_box img{
float: left;
width: 110px;
margin: 3px 10px 0 0;
border: 1px solid #333333;
.news_box p{
margin: 0;
padding: 0;
#topdownload_section {
float: right;
width: 300px;
padding: 0;
margin: 0;
background: #99836c;
.topdownload_box {
float: left;
width: 270px;
padding-bottom: 5px;
margin: 0 15px 10px 15px;
color: #24211d;
font-weight: bold;
border-bottom: 1px solid #6b5946;
* html .topdownload_box {
margin: 0 15px 10px 7px;
.topdownload_box span{
font-weight: normal;
.title_singer{
float: left;
width: 200px;
/*--- End of Right Column---*/
/*--- End of Content ---*/
/* ----- Footer ----- */
#footer {
clear: both;
padding: 15px 0;
width: 950px;
margin: 0 10px;
text-align: center;
color: #000000;
background: #6c5b4c;
text-align: center;
#footer a{
color: #000000;
#footer a:hover{
color: #cccc66;
/* ----- End of Footer ----- */
#container #content #right_column #new_released_section .new_released_box h3 {
text-align: center; -
Problem with JavaScript in my PDF Form buttons
I am trying to have my user click on a button in my form on my website and e-mail the form data to me.
I am using the following JavaScript with my form button:
this.mailForm(false, "[email protected]", "", "", "Subject", "Message Body");
Protected mode is off.
When I use the above statement (whether the 1st parameter is set to true or false), nothing happens – no email gets sent and no mail dialog box appears. If I change from this.mailForm(...) to this.mailDoc(...), I get a mail dialog box but, as expected, it sends the blank form without the filled-in data due to low user privileges.
How can I send the form data with this.mailForm(...)? (Note that I prefer to use this.mailForm(...) rather than mailto:(...) because this.mailForm(...) supposedly allows me to e-mail the form without user interaction.)
-- DonThanks for responding. I have been using “Submit a form” in the Mouse up event. I had that operation do a mailto: and it worked, but required user interaction on the part of the web page visitor. I have successfully created an equivalent JavaScript including:
var url = "mailto:[email protected]?subject=mySubject&body=MyMessage";
this.submitForm(url, true);
The above sent the FDF file successfully, but again, it required user interaction.
Then I tried this JavaScript - as I mentioned in a previous post - after you said to use doc.submitForm():
var url = "http://mydomain.com/submit_notice.php";
doc.submitForm(url, false);
The above script seemed to do nothing (with no error message). Shouldn't it bring up the PHP file in the web browser?
I have that php file, submit_notice.php, created, but I have not written any PHP scripts to e-mail the FDF file. I have never written a PHP script to take the posted FDF data and email it, but I have used the PHP mail() function and posted variables.
As for what I want to happen on the client side after the submit takes place: I simply want the FDF file to go to an e-mail that I specify. Additionally, I need it to happen without any client interaction on the part of the web page visitor. I can expect that visitor to have Adobe reader, but no add-ons or protected mode requirement.
Please give me an example that emails the FDF file without any user interaction.
Thank you.
-- Don -
Form button does not work when a program is moved from Windows 8.2 to Windows 7
Hi,
I have a few Excel programs which use the ODBC to get data from Access and which have macros which writes data to an external program, MYOB.
When the macros tries to write the data to MYOB it fails if I am not running the program in administrator mode. It seems that Windows 8.2 has a different level of security than Windows 7 and must be run in administrator mode for the ODBC to work.
I have had issues after running the program in administrator mode (testing) if I simply do a save (in administrator mode) and then send it to the customer. The issue is that it just will not work on the customer's site. I have gotten
around this in the past by saving any changes, going back out of excel, loading the program again (not in administrator mode) and saving it - before sending it to the customer. This worked until now.
For some unknown reason, the last time I sent a program to the customer and carried out the above process, the program stopped working. Originally I thought that the macro just wouldn't work on windows 7, but eventually found that it is the form button
that will no longer work when the program is moved from 8.2 to 7.
Does anyone know why there is an incompatibility between 8.2 and Windows 7 and what I should be doing to ensure that my programs work in my customers environment(windows7)?
In the meanwhile, I have changed the form button to an activex button and the program works fine in both environments.
Thanking you in advance,there is some OP report after Windows update Dec 2014 macro stop responding ( I cant confirm if this is also related to your issue) its because security update for Office maybe conflict with the active-x that you are installed
try to
Close Excel
Start Windows Explorer.
Select your system drive (usually C:)
Use the Search box to search for *.exd
Delete all the files it finds.
Start Excel again
Open that file and save it, and try open at Windows 7
to get more detail about this issue, I suggest also contact Office forum
this case also will be solve installing kb3025036
good luck -
I use pages to draft forms that i repeatedly edit and use in my business. Ex: letterhead, envelopes, and legal forms. I recently drafted a legal form
for a client. saved it and then reopened and printed the next day. now when i try to open that form, ( or letterhead or envelope) i get a message that
it wont open and that i need a newer version of pages. but my pages software is up to date. Whats up with this??You have 2 versions of Pages on your Mac.
Pages 5 is in your Applications folder.
Pages '09/'08 is in your Applications/iWork folder.
You are alternately opening the wrong versions.
Pages '09/'08 can not open Pages 5 files and you will get the warning that you need a newer version.
Pages 5 can open Pages '09 files but may damage/alter them. It can not open Pages '08 files at all.
Once opened and saved in Pages 5 the Pages '09 files can not be opened in Pages '09.
Anything that is saved to iCloud is also converted to Pages 5 files.
All Pages files no matter what version and incompatibility have the same extension .pages.
Pages 5 files are now only compatible with themselves on a very restricted set of hardware, software and Operating Systems and will not transfer correctly on any other server software than iCloud.
Note: Apple has removed over 100 features from Pages 5 and added many bugs:
http://www.freeforum101.com/iworktipsntrick/viewforum.php?f=22&sid=3527487677f0c 6fa05b6297cd00f8eb9&mforum=iworktipsntrick
Archive/trash Pages 5, after exporting all Pages 5 files to Pages '09 or Word .docx, and rate/review it in the App Store, then get back to work.
Peter -
How do I repeat the same row more than once in report 10g
How do I repeat the same row more than once in report 10g
So I can print the bar code more than once
in report;
Edited by: user11106555 on May 9, 2009 5:50 AMGREAT THAN X MAN
It is already working, but with the first ROW
select ename from emp
CONNECT BY ROWNUM<=5
ENAME
SMITH
SMITH
SMITH
SMITH
SMITH
ALLEN
WARD
JONES
MARTIN
BLAKE
CLARK
SCOTT
KING
TURNER
ADAMS
JAMES
FORD
MILLER
BUT I want this result
Item1
Item2
Item3
to
Item1
Item1
Item1
Item2
Item2
Item2
Item3
Item3
Item3 -
How do I add a user command to a Adobe Form Button?
Hi,
I want to add a user command to a Adobe Form button, but have no idea how to do it? (Since the material I have only mentioned how to do it by using JSP pages). This is a question comes from PCR. Thanks.Formscentral does not support forms with digital signature workflows. I suggest you see if our Echosign product meets your needs.
-
I have created a form for my boss and distributed it. She doesn't want the submit form button to appear as people don't need to submit the form to anyone, just fill it in and keep a copy. I can't figure out how to remove this button. It's not one I've created, it's the one that it automatically generates when you don't have a submit button in your form. Is it possible to remove this button or do we just have to live with it? I am using Adobe Acrobat X Pro.
ThanksYou can have more control on the email subject/ to and CC Email address, if you use a regular button and place the code in the click event.
Refer to the attached sample below.
https://acrobat.com/#d=HouRLov3lOntSbqAfsr5Hg
Thanks
Srini -
I am having trouble submitting information via form buttons. I click on the button but nothing happens. It isn't site specific and is a problem that has only started to happen recently. I have uninstalled firefox and reinstalled it without any rememdy. The problem does not replicate itself in Chrome or Internet Explorer. Can anyone advise what maybe the problem? Is it s a javascript setting within firefox that I may have accidentally turned off? Please help.
Thank you for the help but I found the answer here: http://support.mozilla.com/tiki-view_forum_thread.php?locale=en-US&comments_parentId=601699&forumId=1
I am pretty sure you had the same diagnosis and solution to start it in safe mode, and if it does work, go disabling each extension one by one until you determine which extension is the culprit.
Thanks!
Maybe you are looking for
-
My ipod touch wont charge to my computer(which is usually does)
My i pod touc wont chrage to my computer for some odd reason. It doesnt even make the noise when i plug it in ! i need help ! Im going to cry badly ! I bought a cheap USB cord from this store and it still doesnt work, ive also tried resetting it and
-
How to carbon copy an old hard disk with mountain lion on MBP-retina's SSD
Well the title says it all. My idea is: Thunderbolt externally my old HDD and boot from it with target disk mode. Here's the first question: shall I first boot normally to initialize the OSX on the new MBPR or it doesn't matter since I am going to ov
-
Removing or destroying an ABAP program from memory
Hello! Is there a command to kill, unload, remove or destroy a previously called ABAP program from memory? Let me explain what I'm trying to do: I'm doing some WM developments and I use the function L_TO_CONFIRM to confirm transfer orders. This funct
-
I have just loaded Adobe elements 10 for Apple onto a new Mac Pro. All works OK but when I close the program the history and layers floating menus stay behind. Another click is requuired to get rid of them. I do not have that problem on my Window
-
With alert configuration we can send notify user when there is an error. Is there a way to write a log file when there is an error (assume no BPM used).