How do I Section a form??
My form is broken into logical sections. I would like to break the PDF into the same sections, but currently the only breaks are PAGE breaks
Page1
-field1
-field2
-field3
-field4
Page2
field
field
field
I would LIKE to break it into logic sections that follow my form
Page1
-field1
-field2
-field3
Subsection 1
-field4
Subsection 2
Page2
Subsectiom 3
field
field
field
Subsection 4
The idea would be that if I needed to dissable an entire section, it would be easy as I could just act upon the section atributes rather than on each individual field -in- the subsection.
Is there an easy way to do this in ACROBAT PRO XI?
thanks
OK. This can be done fairly easily if yuo use a hierarchical naming system for you form fields. For example, prefix all of your fields in section 1 with "S1.", tso they have names like: "S1.cust_name", "S1.address", "S1.city", etc. You can then hide all of the fields in a group with a single line of JavaScript:
// Hide all of the secition 1 fields
getField("S1").display = display.hidden;
If you include an opaque button to cover all of the section (e.g., set the background to white and make it read-only), you can hide the underlying page contents by doing:
// Show the section 1 button
getField("S1_cover").display = display.visible;
In this case don't include the "S1." prefix.
Do the same type of thing for the other sections. You can then set up a general function in a document-level JavaScript to show/hide any section, something like:
function hideFormSection(section, hide) {
// Determine whether to show or hide the fields
var disp = hide ? display.hidden : display.visible;
// Dtermine whether to show of hide the cover button
var disp_cover = hide ? display.visible : display.hidden;
// Show/Hide the fields
getField(section).display = disp;
// Show/Hide the cover button
// Each section cover button is named: prefix + "_cover". Example: "S1_cover"
getField(section + "_cover").display = disp_cover;
And you could call it like this:
// Hide section 1
hideFormSection("S1", true);
// Show section 3
hideFormSection("S3", false);
Similar Messages
-
How to use standard Smart forms
hi All,
Pls give me the detail for smartform ie how to use standard smart forms and how to modify them in SAP 4.7EE
Thanks,
NitinHi,
first u copy the standrad smartform to z and then modify it,
SOME STANDARD SMARTFORMS
SF_EXAMPLE_01,
SF_EXAMPLE_02,
SF_EXAMPLE_03,
LB_BILL_INVOICE,
ENETR SMARTFORMS TCODE
PRESS F4 HERE U FIND ALL STANDARD SMARTFORMS
OR
U GO TO TRANSACTION CODE NACE
SAMPLE PROGRAM FOR SMARTFORM,
. Create a new smartforms
Transaction code SMARTFORMS
Create new smartforms call ZSMART
2. Define looping process for internal table
Pages and windows
First Page -> Header Window (Cursor at First Page then click Edit -> Node -> Create)
Here, you can specify your title and page numbering
&SFSY-PAGE& (Page 1) of &SFSY-FORMPAGES(Z4.0)& (Total Page)
Main windows -> TABLE -> DATA
In the Loop section, tick Internal table and fill in
ITAB1 (table in ABAP SMARTFORM calling function) INTO ITAB2
3. Define table in smartforms
Global settings :
Form interface
Variable name Type assignment Reference type
ITAB1 TYPE Table Structure
Global definitions
Variable name Type assignment Reference type
ITAB2 TYPE Table Structure
4. To display the data in the form
Make used of the Table Painter and declare the Line Type in Tabstrips Table
e.g. HD_GEN for printing header details,
IT_GEN for printing data details.
You have to specify the Line Type in your Text elements in the Tabstrips Output options.
Tick the New Line and specify the Line Type for outputting the data.
Declare your output fields in Text elements
Tabstrips - Output Options
For different fonts use this Style : IDWTCERTSTYLE
For Quantity or Amout you can used this variable &GS_ITAB-AMOUNT(12.2)&
5. Calling SMARTFORMS from your ABAP program
REPORT ZSMARTFORM.
Calling SMARTFORMS from your ABAP program.
Collecting all the table data in your program, and pass once to SMARTFORMS
SMARTFORMS
Declare your table type in :-
Global Settings -> Form Interface
Global Definintions -> Global Data
Main Window -> Table -> DATA
Written by : SAP Hints and Tips on Configuration and ABAP/4 Programming
http://sapr3.tripod.com
TABLES: MKPF.
DATA: FM_NAME TYPE RS38L_FNAM.
DATA: BEGIN OF INT_MKPF OCCURS 0.
INCLUDE STRUCTURE MKPF.
DATA: END OF INT_MKPF.
SELECT-OPTIONS S_MBLNR FOR MKPF-MBLNR MEMORY ID 001.
SELECT * FROM MKPF WHERE MBLNR IN S_MBLNR.
MOVE-CORRESPONDING MKPF TO INT_MKPF.
APPEND INT_MKPF.
ENDSELECT.
At the end of your program.
Passing data to SMARTFORMS
call function 'SSF_FUNCTION_MODULE_NAME'
exporting
formname = 'ZSMARTFORM'
VARIANT = ' '
DIRECT_CALL = ' '
IMPORTING
FM_NAME = FM_NAME
EXCEPTIONS
NO_FORM = 1
NO_FUNCTION_MODULE = 2
OTHERS = 3.
if sy-subrc <> 0.
WRITE: / 'ERROR 1'.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif.
call function FM_NAME
EXPORTING
ARCHIVE_INDEX =
ARCHIVE_INDEX_TAB =
ARCHIVE_PARAMETERS =
CONTROL_PARAMETERS =
MAIL_APPL_OBJ =
MAIL_RECIPIENT =
MAIL_SENDER =
OUTPUT_OPTIONS =
USER_SETTINGS = 'X'
IMPORTING
DOCUMENT_OUTPUT_INFO =
JOB_OUTPUT_INFO =
JOB_OUTPUT_OPTIONS =
TABLES
GS_MKPF = INT_MKPF
EXCEPTIONS
FORMATTING_ERROR = 1
INTERNAL_ERROR = 2
SEND_ERROR = 3
USER_CANCELED = 4
OTHERS = 5.
if sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif.
Thanks&Regards,
Phani
POINTS HELPFUL -
How do I make a form READ ONLY??
I am using acrobat to create mutliple contracts that my company uses...we use the same format but change out dates and client information. We use the same document over and over but change the information in the fields, so I have been using the form tools to edit the different sections of the contract. I want to be able to edit the form within my own office and between employees but WE DONT WANT THE FINAL DRAFT to be editable. Is there a way a "LOCK" the form fields or preferably save a copy of a form as a "READ ONLY" document????
Basically I am asking if anyone knows how to save a pdf form as a read only pdf???
ANY ADVICE WOULD BE AWESOME!?!!With the preflight tool of Acrobat Pro you can flatten the form fields.
-
How to use JavaBean in Form Builder 6i
Hi,
How to use JavaBean in Form Builder 6i (Oracle Developer 6i)?.
i'am using Oracle Sever 8.0.4 and Oracle Developer 6i.
Please give your valuable suggestion
Regards
SeemaI would suggest you start with the sample Java bean code we have
on otn.
http://otn.oracle.com/products/forms
go to the sample code section. -
How to scan document into forms directly ?
hi all
how to scan any document into oracle developer form directly
(we are using forms 4.5 ..on win 98)
thanks
Abu zaid Saad
[email protected]First I would suggest that you read the documentation about working with Active/X.
The online version is in the documentation section of Forms on OTN.
Then, you insert the scan.ocx into your form. you use the ole importer to create a pl/sql package to communicate with the ocx and you are ready to start calling methods such as scan etc... -
HCMPF - controlling the visibility of various sections of Form
Hi All,
In my HCM PF, i have 2 sections - 1) Employee 2) Manager
Under Manager Section, there is a Mandatory text field 'Comment' , which should be 'Hidden' under Employee Section.
In order to make this field mandatory, i have defined it as 'Required Entry' under the Process Fields
If the field is mandatory, it will result in an error while filling Employee section.
I dont want the red border appearing around my comment field in my form, so i am not setting property as User Entered-Required in UI property.
Can anyone please guide me how to proceed with this funcitonality. I want to keep the field hidden in Emp section, yet it should be mandatory under Manager section.
Thanks in advance,
AditiSeriously? Those are some really basic HCM P&F concepts.
I will try to help.
First off....why do you have a separate field for "manager comments"? WHy not use the standard comments fields (current/previous) and let the framework handle them?
Now for showing/hiding sections of form.....several ways to do this. If it were me...
1. I would have the employee and manager steps in different form scenario steps/stages (personally I would probably have them in different form scenarios all toghether but sharing same form simply for scalability).
2. Define the standard field for form_scenario_stage in your form scenario fields (look it up in documentation for how to define this....I'm not spoonfeeding you)
3. Add the form field from #2 onto your form somewhere and make it hidden/invisible.
4. Use Javascript/Formcalc to reference the "raw value" of that field. Then you can use script in the form to show/hide the section depending on the value in that field (which will be the name of the form scenario step/stage.
Now.... for making fields mandatory, hidden/visible/invisible, open to edit/read only......that is all done in scripting and is VERY basic. There are TONS of examples on how to do this all over the web with simple Google searches. -
How to install Oracle FM Forms 11g on client system.
Problem 1.
I have an weblogic server installed on a server, now i have to install oracle Forms 11g in client system. its ask me weblogic server path whatever i try, its ask weblogic on client. what is the solution how installation of Oracle 11g form connect with weblogic server."
Problem 2.
i have install 64-bit OS windows 7.
1. I Installed JDK 6 (64bit).
2. Installed Weblogic Server. (its work fine)
3. Now i m installing Oracle forms 11g 64(-bit). its show me an error (INST-07407: Unable to detect machine platform or JVM bits)
please help me out. waiting for your positive reply.3. Now i m installing Oracle forms 11g 64(-bit). its show me an error (INST-07407: Unable to detect machine platform or JVM bits)It looks like you are installing the 32-bit version of Oracle Fusion Middleware (FMw) 11g - not the 64-bit version. As a test, install the 32-bit JRE and run the FMw installer again. If it continues past this point - you've got the 32-bit installer and not the 64-bit installer. :)
Craig... -
How do I reorder the form results from a non-BC form in Muse?
I have a problem with Muse, in that the emails that get delivered from filled-in forms have various fields in the wrong order and not the order that the fields appear in the actual form.
How do I ensure the form results emails maintain the order of the fields in the form?
For example, on the www.actconstruction.com Subcontractors form, several of the fields are wildly out of order. Here's a screen capture of the form results email:
Here's the form as it appears on the site. You can see the fields are in completely different order to the results emai:
So, how do I make sure the fields follow a particular order that I want them to (i.e. in the order I placed them in the form itself)?
The form can be seen at www.actconstruction.com/contact-us.html. This shows the actual order of information. The form results email should follow the order exactly as shown on the web site.
I've had complaints from clients about this and need to handle it immediately. Please have someone get back to me with a figure-out.
Many thanks,
Len Williams
727-466-6888I have a problem with Muse, in that the emails that get delivered from filled-in forms have various fields in the wrong order and not the order that the fields appear in the actual form.
How do I ensure the form results emails maintain the order of the fields in the form?
For example, on the www.actconstruction.com Subcontractors form, several of the fields are wildly out of order. Here's a screen capture of the form results email:
Here's the form as it appears on the site. You can see the fields are in completely different order to the results emai:
So, how do I make sure the fields follow a particular order that I want them to (i.e. in the order I placed them in the form itself)?
The form can be seen at www.actconstruction.com/contact-us.html. This shows the actual order of information. The form results email should follow the order exactly as shown on the web site.
I've had complaints from clients about this and need to handle it immediately. Please have someone get back to me with a figure-out.
Many thanks,
Len Williams
727-466-6888 -
How to transfer the stock form Project stock to Sale order stock
Hi
How to transfer the stock form Project stock to Sale order stock
I tried to do this with movement type 413Q
System is giving me error
Valuated project stock not allowed with customer stock.
Message no. KI346
How to do this
Thanks
NKYou can use Mov Type 412-Q
412 Q Transfer posting project to own - reversal
Thanks
Rajesh -
How to download PDF output forms to presentation server without display
Hi All,
My requirement is to download the Sales Order forms and save it in local system.
I have created a custom program where I am passing a range of Sales Order no, Partner Function, Output type and Application as my input in selection screen.
Logic:
I am calling my Sales Order Abodeform using the FM: 'FP_FUNCTION_MODULE_NAME' and thereby I got the function module name of my form.
Then I am calling the FM:
Input to the FM:
ls_outputparams-nodialog = abap_true.
ls_outputparams-authority = 'X'.
ls_outputparams-getpdf = 'X'.
ls_outputparams-dest = 'LP03'.
ls_outputparams-nopreview = abap_true.
ls_outputparams-reqimm = abap_true.
CALL FUNCTION 'FP_JOB_OPEN'
CHANGING
ie_outputparams = ls_outputparams
EXCEPTIONS
cancel = 1
usage_error = 2
system_error = 3
internal_error = 4
OTHERS = 5.
followed by, CALL FUNCTION (FM name)
EXPORTING
archive_index = toa_dara
archive_parameters = arc_params
control_parameters = ls_control_param
mail_recipient = ls_recipient
mail_sender = ls_sender
output_options = ls_output_param
user_settings = ' '
is_nast = nast
is_vbdka = vbdka
is_addres = addr_key
IMPORTING
document_output_info = document_output_info
job_output_info = job_output_info
job_output_options = job_output_options
TABLES
it_vbdpa = tvbdpa "Item information
it_vbdpau = tvbdpau "Subitem numbers
it_vedpa = tkomservp "Contract Item Validity
it_vedka = tkomservh "Contract Header Validity
it_vedpn = tkomservpn "Contract Item Cancellation Data
it_vedkn = tkomservhn "Contract Header Cancellation DA
EXCEPTIONS
formatting_error = 1
internal_error = 2
send_error = 3
user_canceled = 4
OTHERS = 5.
then , CALL FUNCTION 'FP_JOB_CLOSE'
IMPORTING
e_result = ls_result
EXCEPTIONS
usage_error = 1
system_error = 2
internal_error = 3
OTHERS = 4.
then i am using the below FM to get the OTF data if any available.
CALL FUNCTION 'CONVERT_OTF'
EXPORTING
format = 'PDF'
IMPORTING
bin_filesize = lv_binfilesize
bin_file = lv_bin_file
TABLES
otf = ls_output_info-otfdata-> i am not sure which data to pass here. i am getting sy-subrc value as 4.
lines = lt_lines
EXCEPTIONS
err_max_linewidth = 1
err_format = 2
err_conv_not_possible = 3
err_bad_otf = 4
OTHERS = 5.
Now I dont no how to link the PDF forms to below method.
CALL METHOD cl_gui_frontend_services=>gui_download
EXPORTING
bin_filesize = v_size
filename = D://x.pdf
filetype = 'BIN'
CHANGING
data_tab = lt_pdf.
Because in smartforms, we will convert the OTF output to PDF and that value is passed to GUI_DOWNLOAD FM as input (lt_pdf) , whereas in adobeforms the output itself is in PDF so i dont how to retreive the values from adobeforms and pass it to the above FM, so that I can save 'N' no. of sales order outputs in one PDF file.
Kindly help me out in this.
Thanks & Regards,
Karthikeyan G.Hi Vishnu,
I read the GUI_DOWNLOAD FM documentation, if I am trying to download binary type of file, It is mandatory to pass file size.
In my case, since I am having PDF file, so i don't no how to get the size of the pdf file.
As you said, if i use Convert_OTF FM, i don't have data to pass to the OTF and LINES tables.
I am having values of PDF in xstring format in ls_output1-pdf, which i got using the below FM.
CALL FUNCTION lv_funcname (FM name)
EXPORTING
/1bcdwb/docparams = ls_docparams
is_vbdka = vbdka
IMPORTING
/1bcdwb/formoutput = ls_output1
EXCEPTIONS
usage_error = 1
system_error = 2
internal_error = 3
OTHERS = 4.
Kindly tell me what values i need to pass to the FM you mentioned in order to get the size of the file.
Thanks & Regards,
Karthikeyan G.
But still I am not sure, how the pdf output is coming for single input whereas if i give in a range, its failing. In single input, i am not giving binary file size still the output is coming.. but for range its not. Kindly help me out in this. -
How do I use one form field to enter data into another form field?
Does anyone know how I can code a form so that when I select
a name in one drop-down form field, I can ensure that the person's
e-mail address will appear in another text field?
Thanks.Thanks Roel,
I remember that I tried to define multiple DML. but it did not work for Apex gets confused.... which items belongs to which table...
instead-of-triggers (to process the inserts/updates/deletes) Can you pls, elaborate more on this solution ... ?
Regards,
Fateh.. -
HT1373 how do I move songs form one account to another account?
how do I move songs form one account to another account?
Only sequentially. Each time you switch accounts, it will overwite the existing content with the new content. As AnaMusic says, you cannot sync one device with two AppleID accounts at the same time, or even with the same AppleID on different computers for the same type of content (you could, for example, sync music to one computer, and calendars to a different computer, but not music to two different computers, even if they're the same AppleID).
Also, if you want to *re-download* content directly form the iTunes store (assuming it's an iPod Touch), you can only change IDs every 90 days. -
How do I attach a form to my Wix website. I was able to attach a form (through link a document) but the payment options do not work. Payment options work when I use the preview on the Adobe site.
Hi,
Please see this link on how to embed a form into a webpage:
http://forums.adobe.com/docs/DOC-1991
Please see this link on how to setup the form for payment collection:
http://forums.adobe.com/docs/DOC-1632
Hope this helps, if you still have questions, please write back.
Thanks,
Lucia -
How can I attach my form to an email?
How can I attach my form to an email?
Go to the distribute tab - you can either email a link to a web form or create a PDF form to send.
Randy -
How to add Predefined PDF Form as a Template in BIP - 11g
Can anybody please help me to understand how to add Predefined PDF Form as a Template in BIP - 11g and how to map the Form fields with the Data Elelment.
I tried it with 10 g set up as well, but I found following things
1) PDF form template mapping was only available whenever we provide sample data with the same filed name and also number of fileld should be same.
2) According to user manual that I have, it says that whenever I click on the form field while mapping the form field data elements, it should open a new window having the corresponding mapping details.
But in my case no new window was opened when I clicked on the form field while mapping.
Please help me out since i am beginner with BIP and have to move forward with Predefined PDF Form as a Template in BIP - 11g.I am new to BIP-11g. But i have created rtf, pdf templates in 10g. I am migrating reports to 11g. If you know How to add Predefined PDF Form as a Template in BIP - 11g , Please let me know.
In 10 g you need to do the following things
1. First you need to create data template.
2. Then you have to upload pdf template.
3. After you have uploaded the pdf template, Map Form Fields tab will appear. Then you can map the form fields.
Maybe you are looking for
-
InDesign trial version will not open
I just downloaded the creative cloud and the trial version of InDesign. Everything seems to have gone fine with the download, however, when I try to open InDesign nothing happens whatsoever. I disabled my firewall, am using WIFI, running Windows 7 Pr
-
Why is the repeat button close to the shuffle on the 5th generation iPod touch?
I'm asking because on the previous generations it was different how you could repeat and shuffle songs. Why did Apple change it?
-
How to run apple hardware test with no cdrom?
My MacBook Air won't recognise old or new hard drive and I believe I may have a logic board issue. My external CDROM has also just stopped working due to the wire being split some. I have two questions, can I get a replacement wire for the CDROM and
-
Hi, i have to writte a socket file transfer client. I wrotte the code for the client and it connects to the server. But i dont know: 1. how to pass the commands ls, get and quit to the server. 2. client recognizes only small capitals but server big f
-
Server Name showing in public NS Records
How do I hide the internal (default) nameserver from showing in public searches? This server is going to be used internally for user management and backup but I'd like to be able to host public websites as well.. Here's whats showing: http://screenc