Adobe Form - Locked field
Hi All
Could someone please tell me what are the function 'Lock Text', 'Lock Static Object' and 'Lock Field' under 'Edit' on menu selction bar - used for - (I'm new with Adobe Form) - Thanks
Hi Liem,
You can find answers to such questions easily in adobe designer help. I am providing below the answer to your query, Hope it will be helpful:
Lock text:
LiveCycle Designer lets you lock text in text objects or in the captions of objects by using the Lock Text command. When you select Lock Text, you must double-click the desired text or caption in order to edit it. This makes it not as easy to modify the text. If Lock Text is not enabled, you click in the caption or text object to start editing the text.
Lock Text applies to all text and captions on the form design. Using Lock Text is particularly useful if you want to select and move objects but not make any changes to the text. You can single-click the object to select it, but you must double-click the caption or text in order make any changes.
Lock Static Object:
LiveCycle Designer lets you lock all static objects on the form design by using the Lock Static Objects command. All static objects in the form design cannot be selected, moved, or modified.
The Lock Static Text command is useful in situations when you have finished formatting static objects in the form design and want to continue working with other types of objects.
For example, your form includes a large number of text field objects, as well as text objects that provide instructions on filling the form. You have laid out and formatted all the static text objects and need to apply a different font to the text field objects. You can easily do this by locking the text objects and then using Edit > Select All to select all the text field objects at once and then change the font.
When text objects are locked, the text inside them is also locked. However, if you want to continue to select and move text objects, but not make any changes to the corresponding text, you can change the behavior of the text to make it not as easy to modify.
Lock Field:
LiveCycle Designer lets you lock all field objects on the form design by using the Lock Fields command. All field objects in the form design cannot be selected, moved, or modified.
The Lock Fields command is useful in situations when you have finished formatting the field objects in the form design and want to continue working with other types of objects.
For example, your form includes a large number of text field objects and check box objects, as well as text objects that provide instructions on filling the form. You have laid out and formatted all the field objects and need to apply a different font to the text objects. You can easily do this by locking the field objects and then using Edit > Select All to select all the static text objects at once and change the font.
When field objects are locked, their corresponding captions are also locked. However, if you want to continue to select and move fields, but not make any changes to the caption, you can change the behavior of the caption to make it not as easy to modify.
Regards,
Vaibhav Tiwari.
Similar Messages
-
Web dynpro + adobe form decimal field round off
hello all,
I am now developing an application which is based on the SAP WebDynpro and Adobe form, but the application has an error, if one can help me to resolve the error, I will be very thankful.
The error is as follows, for a decimal filed on the Adobe form which is binded to a deicmal attribute of Webdynpro, if I get the value of the decimal field using the programming code as "context.nodexx.getAttribute("xx")", the decimal value is rounded off (e.g., 2.4 is changed to 2.0, 2.7 is changed to 3.0).
for example:In Web Dynpro, A node name is "TestNode" which has a type of decimalattribute named "TestAttr" , in adobe form a decimal field bind to the TestAttr . when i input 2.3 in adobe form, i click the button with code:
this.wdComponentAPI.getMessageManager.reportSuccess(this.wdContext.nodeTestNode.getTestAttr()+"");
the rusult is : 2.0
if i input the value 2.5 the result will be 3.0
Thanks All !Hi,
there is a special display pattern to check for null values:
null{pattern}
Example:
null{'please enter a value'}
But I don't know if WDJ is really sending a null value. You can combine this with alternatives using '|' to separate alternatives.
Regards,
Juergen -
Adobe Forms Data Fields in Portal
This question regarding Adobe Forms in Portal 7.
Can data fields on a form which are not stored in the SAP backend can be saved? Can this be done in the portal or do we have to save this data in the backend via Z tables or creating additional infotypes?
We need to have this data to be available if a user would like to redisplay a form at a later date.Hi Azim,
to clarify your query go thru this url
To use Adobe interactive forms you should install the Adobe Reader Version .... 7. Launch the SAP Enterprise Portal. (. http://<host>:<port>/irj/portal ...
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e98c87ea-0c01-0010-3798-a4f8db2411c5
if usefull reward me points
thanks
karthikeya -
Adobe form hiding fields stopped suddendly
Hi All,
I had made the sub form as flowed and written the below script in docready event in order to move other fields up if it do not have a value.
if(this.rawValue == null)
this.presence = "hidden";
This was working and it is working for the fields which are in the content area. But it suddendly stopped working.
Thanks in advance.Hi!
There might be a number of reasons for such behavior. First of all, check for the latest versions of Adobe form. If there were recent changes it might be e.g. some other script which is incorrect and your script fails to run. A simple test for scripts is going to "Preview PDF" tab on Format page. If any error popups - check the corresponding script. It's the first point I start from while having script troubles.
If Adobe form wasn't changed, I would still check whether this script runs. If this issue can be reproduced in DEV / TEST systems, you can make any kind of debug printing or popup to be sure that IF-condition is fulfilled. If it's ok, have a closer look at the form elements, if not - check the data coming from the outside. -
Adobe form - Text field not getting saved.
Hi All,
We created an application in which user will enter the data and submit it . The details entered in the screen will be saved in the Ztable.
Our problem is when the user enters the data in the TextField UI of the adobe form it is not getting saved in the table. In development its working fine.
In production for few users it is getting saved and for few users it is not getting saved.
We are not able to find out the root cause of the problem.
Any help will be appreciated
Best Wishes
Idhaya RHi Idhaya,
As you said it is working for few users,
Then you need to check Adobe reader installed for users who are having problem.
Hope it helps.
Regards,
Arun -
Adobe Form: Signature Field
Hi folks,
is anyone out there who knows how to find out whether a pdf form is signed or not? There must be an attribute belonging to the signature field which can be used for that via scripting. Does anybody know how to do that?
Answers will be highly appreciated!
Kind regards,
Alexander
Moderator message: please have a look in the dedicated forum for "Adobe Interactive Forms".
Edited by: Thomas Zloch on Feb 7, 2011 2:09 PM>Is this a set up problem in Reader or a set up problem in Professional?
Pro. You need to enable the form for Reader users. -
Adobe Forms --Amount field Problem
Hello All,
I have one clarification.I have one field called amount.Its value is taken as 0.00 from the table. I have to make it as blank.I have made it as blank to that field in display pattern properties by setting as * in adobe designer. This is suitable for print form. In case of interactive form how can this be done to achieve the functionality.If the value is given from the other side to the amount value its not taking since in display pattern it has been set as *.Can anybody help me out in this issue.
This is very urgent.I will reward you with points.
Thanks,Indrakaran,
Well you can try this one in initialize event in LiveCycle Designer. Change the language to javascript.:-
xfa.host.messageBox("Raw Value is : " + DMBTR.rawValue); // This will just give a alert box.
if(DMBTR.rawValue == "0.00")
xfa.host.messageBox("Value is 0.00");
DMBTR.rawValue = "";
Chintan -
How to remove the border of an Adobe Form Image Field
Hello everyone
I am using Desinger 8.0.
Form properties: Preview type = Print Form (One-side):
I am using an "image field" to include a image from the transaction SE78.
There is always a box arround the image. How can I remove that box?
I am using the "Image field" because the image will change depending on conditions.
Here is my setting:
Object: Field
type = Image Field
Sizing = Scal Image Proportionally
Binding
Default Binding (Open Save Submit) = $record.GRAPHIC
(Graphic is defined in the global area in the interface)
Layout :
AnchorX: 171.477mm AnchoY: 15.111mm
width: 78.175mm Height : 21.777mm
Margins: all at 0mm
Caption Position: None
Border:
Edges: Edit Together
None
Background fill: None
Based on my understanding, with border edges to none I should not have any border arround the image But I still have it.
Any suggestions?
Regards
stjacqdHello Raju
Thank you for your reply.
Unfortunattely the Field tab doesn't have the Appearance in it.
The field tab contain only the following Items:
Type : Image Field
Caption:
URL
Embed Image Data
Sizing: Scale Image Proportionally
Presence: Visible
Locale: Default locale
There is no item named "Appearance".
I am using AdobeLiveCycle Designer 8.0
Version 8.01.3250.1.491864
Regards
dstj -
How to change the Field Symbol, so Adobe Forms takes it as a Table?
Hi guys,
I created an Field Symbol, in a Interface which I use for Adobe Forms. The type of the Field Symbol is STANDARD TABLE, and this field symbol I fill with data from another program.
But the problem is that in adobe forms, this Field Symbol is taken as TEXT FIELD and not as Table... and this shows me a Dump because it can't convert Internal Table to type C (the dump is like that).
What I need, is how to change the Field Symbol, so Adobe Forms takes it as a Table?
I looked at Adobe Form, and found this:
The Type Category of the Field Symbol is DICTIONARY TYPE and I think I need to change it to Internal Table as shown in the right picture.
Does someone have any idea?Hello Taly,
To what i understand your requirement, you need to pass data from Field symbol to internal table in Adobe form.
You have done it correct partially. I have replicated your scenario and steps are below -
1) Create a Z structure
2) Create Z Table Type
3) Create Adobe Interface with Table & Field Symbol. Also do coding as shown to assign the internal table populated in driver program to filed symbol.
4) Design Form as -
5) Code driver as -
*& Report ZR_AF_FS_1
REPORT zr_af_fs_1.
DATA: fm_name TYPE rs38l_fnam,
fp_docparams TYPE sfpdocparams,
fp_outputparams TYPE sfpoutputparams,
it_kna1 TYPE ztt_fs_1.
* Sets the output parameters and opens the spool job
CALL FUNCTION 'FP_JOB_OPEN' "& Form Processing: Call Form
CHANGING
ie_outputparams = fp_outputparams
EXCEPTIONS
cancel = 1
usage_error = 2
system_error = 3
internal_error = 4
OTHERS = 5.
IF sy-subrc <> 0.
* <error handling>
ENDIF.
*&---- Get the name of the generated function module
CALL FUNCTION 'FP_FUNCTION_MODULE_NAME' "& Form Processing Generation
EXPORTING
i_name = 'ZAF_FS_1'
IMPORTING
e_funcname = fm_name.
IF sy-subrc <> 0.
* <error handling>
ENDIF.
*-- Fetch the Data and store it in the Internal Table
SELECT kunnr name1 name2 adrnr FROM kna1 INTO TABLE it_kna1 UP TO 15 ROWS.
* Language and country setting (here US as an example)
fp_docparams-langu = 'E'.
fp_docparams-country = 'US'.
*&--- Call the generated function module
CALL FUNCTION fm_name
EXPORTING
/1bcdwb/docparams = fp_docparams
it_data = it_kna1
* IMPORTING
* /1BCDWB/FORMOUTPUT =
EXCEPTIONS
usage_error = 1
system_error = 2
internal_error = 3.
IF sy-subrc <> 0.
* <error handling>
ENDIF.
*&---- Close the spool job
CALL FUNCTION 'FP_JOB_CLOSE'
* IMPORTING
* E_RESULT =
EXCEPTIONS
usage_error = 1
system_error = 2
internal_error = 3
OTHERS = 4.
IF sy-subrc <> 0.
* <error handling>
ENDIF.
6) Output -
BR. -
Dynamic display fields in Adobe Form
Hi all,
I am trying to design a Adobe non-interactive form.
But my requirement is If Field = X then display table1.
If Field = then do not display table 1 in output of Adobe form.
Field & table both are coming from SE38 code.
Please guide me if it is possible or not with a single adobe form.
Other option I have I can design 2 different form one with table & other with no table.
Please guide me if it is possible with one Adobe form or not.
RegardsHi Umesh,
This is possible using single Adobe form only. Pass this field into context.
And in form, write the script on Form:Ready event of body page:
if ( $.FIELD eq "X" ) then
$.Table1.presence = "hidden"
endif
Hope this helps,
Amit -
Using formats of SO10 text in Adobe forms
Hello guys,
I got a question concerning the interaction of SO10 texts with adobe form text fields.
I know there are some threads about it here, and I think I understand the default SAP behavior, but can you please confirm if I am right? Then I got a special question about one case.
So is it right that there is only the difference between formatting the textfield itself in adobe form layout and adding a style to the text field in form context?
This means:
(1) Whenever in my text field in form context no style is added, the adobe form will take the formatting like it is done in the adobe form layout? This would mean that every format which is entered in the SO10 text is insignificant for the adobe form?
(2) Whenever in my text field a style is added, SAP will use SO10 text formats? This means, SAP searches for the smartforms style which is entered in the textfield and uses the formats from SO10 text like they were defined in the smartforms style?
Is this correct so far?
Now the special questions:
(1) What happens if a style is added, but the style does not exist as smartforms style. Which font etc. will be used then?
(2) What happens if a style is added, but the format of SO10 text does not exist in the smartform style?
In both cases it looks like SAP takes some "default" style, but where does it come from?
Thanks a lot!
Regards
MichaelThanks Rakhi, but that did not resolve my issue. Below is new out as per the thread suggestion and this is not what I wanted.:
"<H>Thank you for choosing Enterprise.</> We look forward to seeing you at 9:00 am on Monday,
November 28, 2011. This message is to confirm you have updated your reservation.
Following are the details for the updated reservation:
P.S. Remember us when you're renting in town. Enterprise is always nearby at more than 6,500
neighborhood locations."
- shalini -
Blank Space problem in Adobe Form
Hello Gurus,
In my Adobe form, One field has to be displayed based on a condition. So, for that field, in Context tab, condition is specified and its working also i.e. It condition is true then data is not displayed in the layout but I find the blank space for it. I dont want that blank space to be displayed.
Example:
In layout, address is in format as shown below.
Name
Street
City
Region
Postal code
Country
Here, I have a condition that, Region field should not be displayed only for Material eq '123' i.e. same address has to be printed as shown below.
Name
Street
City
Postal code
Country
But, If I give condition then address is shown as below.
Name
Street
City
>Here, am getting empty space & I dont need this blank space to there in the layout.
Postal code
Country
So, Can anyone please help me for this.
Thanks in Advance.
Regards,
UshaHi Usha,
1. Remove the Condition from you Context tab.
2. In the Driver Program check for the condition and fill the value in the internal table which is passed to
the adobe form.
3. Make the subform (under which the field is added in the hierarchy view) as flowed.
4. In the script editor, Select the 'javascript' and write the script to hide the form field specifying the condition here.
for e.g
if (xfa.form.FORM.SUB_FORM.matnr == "123") {
xfa.form.FORM.SUB_FORM.Region = "hidden";
NOTE: Javascript is Case sensitive and stops working immediately after the line of code where an error occurs.
Hope this proves to be useful.
Thanks,
Swar. -
Adobe form validation with Print button
Hi All,
I have an adobe form with field validation (javascript) already set up but I'm trying to add one more feature to the validation.
Let me explain my initial validation first: I have 18 required fields with their tooltip name having an '*' at the end. Any fields not filled in with this tooltip marker will show up on an alert message when the print button is selected.
There are two fields called IException and Amount that are required but an End User might have additional IExceptions and corresponding Amounts. Therefore I have created 5 textboxes for each but only the first IException and Amount are absolutely required (and I use a '*' within their tooltip). Now if an End User has an additional IExceptions ("IException2") and fills out this field, I need to make it mandatory that "Amount2" would also have to be filled in.
Here is my code: [code]
function validateFields()
var flg = 0
var n = this.numFields
var fArr = new Array();
for(var i = 0;i<n;i++)
var fn = this.getNthFieldName(i);
var f = this.getField(fn);
var tt = f.userName
if(tt.indexOf('*')!=-1 && f.value == f.defaultValue)
flg++;
fArr[fArr.length] = tt;
if(flg>0)
app.alert('There are '+flg+' fields that require a value\n\n'+ fArr,3)
var IException2 = document.getElementById('IException2').value;
var Amount2 = document.getElementById('Amount2').value;
if ((IException2.length >0) && (Amount2.length == 0))
app.alert('Amount is missing')
else
document.ExceptionForm1.print();
validateFields();
[/code]
Currently when one of the require fields is NOT filled in, i receive my first alert message. If all required fields are filled in my print button doesn't work. Also if all required fields are filled in and IException2 is also filled in but Amount2 is not, I don't receive my second Alert message. So my code works up to the "Var IException2 = document....." and I don't know what the issue is.
Thank you for your help in advance.One more question, since I have 4 of these...I'm having trouble getting the button to do exactly what its suppose to based on what's filled in because i think i have my '{ }' messed up and or IF/ELSE statement is wrong...can you please take a look..
function validateFields()
var flg = 0
var n = this.numFields
var fArr = new Array();
for(var i = 0;i<n;i++)
var fn = this.getNthFieldName(i);
var f = this.getField(fn);
var tt = f.userName
if(tt.indexOf('*')!=-1 && f.value == f.defaultValue)
flg++;
fArr[fArr.length] = tt;
if(flg>0)
app.alert('There are '+flg+' fields that require a value\n\n'+ fArr,3)
var a = this.getField('IException2').value;
var b= this.getField('Amount2').value;
if ((a.length >0) && (b.length == 0))
app.alert('Since IException 2 is filled in, Amount 2 is also required')
var c = this.getField('IException3').value;
var d= this.getField('Amount3').value;
if ((c.length >0) && (d.length == 0))
app.alert('Since IException 3 is filled in, Amount 3 is also required')
var e = this.getField('IException4').value;
var f= this.getField('Amount4').value;
if ((e.length >0) && (f.length == 0))
app.alert('Since IException 4 is filled in, Amount 4 is also required')
var g = this.getField('IException5').value;
var h= this.getField('Amount5').value;
if ((g.length >0) && (h.length == 0))
app.alert('Since IException 5 is filled in, Amount 5 is also required')
else
this.print();
validateFields(); -
How to use the separate symbol in the text field in the adobe form.
Hi,experts,
I dont know how to use the separate symbol to make a paragraph separate into several lines correctly in the text field in the adobe form.
Action:
1. config the ADS successfully.
2. create the adobe form with a mult-line textfield(binding the 'remark' context in the interface of the form) using sfp.
3. create a WDA for invoke the form and transfer the 'remark' context data.
I use the following codes to display the paragraph in the PDF document:
CONCATENATE
'1、aaaaaaaaaaa;'
'2、bbbbbbbbb '
'3、ccccccccccc'
'4、ddddddddd'
INTO remark .
lo_nd_z_hr_php_payslip->set_attribute(
EXPORTING
name = `REMARK`
value = remark ).
But I found all the content aren't paragraph separate correctly in the text field in the adobe form when I run the WDA.
Could you please give me some hints to make the paragraph separate correctly in PDF document? Thanks a lot in advance!
My email is : [email protected]
Best regards,
Tao
Edited by: wang tao on Apr 8, 2008 1:58 AMHi,
If it is just a one word value then you could use this in the exist event;
this.rawValue
= util.printx(">?<*",this.rawValue);
This changes the first character (represented by the ?) to uppercase (represented by the >) and all trailing characters (represented by the *) to lowercase (represented by the <).
If you wanted something more general ... if they could also enter a middle name then you could call a function like;
function toTitleCase(textValue)
return textValue.toLowerCase().replace(/\b[a-z]/g, function replacer(match) { return match.toUpperCase(); });
This uses a regex to change all lowercase letters following a word boundary to uppercase.
Bruce -
I am working on a simple Adobe form. I am currently trying to figure out if there is a way to use the answers of a drop down menu to either mark, note or highlight 14 other fields. There are 9 possibilities in the drop down menu, include a blank and NONE.
For example if the drop down menu is set to 1, then field 9, 10 and 14 are marked, noted or highlighted.
Is this possible with a script?
Thank you in advance for any help!Have you looked at the properties that are available to form fields. I would look at setting the fill color or border color for a form field. Either of these can be done with Acrobat JavaScript.
Maybe you are looking for
-
How do I get PS5 files to open in PSCC?
When I try to open a file that was last used in PS5 with PScc I get an error message asking if I want to open it in Acrobat. No option for PScc is shown in the box. I have changed the file type association in Windows 7 and that has not helped. It
-
How to create a new line in TEXT_ITEM in WAD ???
Hi all, I would like to create an online help on my WAD application. Thus, I'm using TEXT_ITEM to write/display my help but forum text is lost everytime. How can I do something like that in a TEXT_ITEM ? - blablabalabla - blablabalabla At the moment
-
How to use functions/procedures like wwv_flow_sw_api
Hello, I want to use functions/procedures like wwv_flow_sw_api.check_priv(:P4_SCHEMA) in a process, but I get the error "identifier wwv_flow_sw_api.check_priv(:P4_SCHEMA); must be declared". How can I access these functions? Thank you, Kirsten
-
Hi, Any one can tell how many no of records are deleted sofar while executing the delete statement.
-
TS3989 Windows 7 Photostream folder issues
For some reason a month back my folder quit populating with the photos take on my iPhone 4s. I've reset Photostream system and double checked with all support literature regarding this to no avail. I do have two Apple ID's that merged on my phone by