Make a field read-only after selection made
I have the below code:
var currency = topmostSubform.IFFPage3.Page.Body.rdoDefaultCurrency.rawValue;
topmostSubform.IFFPage6.Page.FirstCustomer.cboBasicGrossEarningsCurrency.rawValue = currency;
topmostSubform.IFFPage6.Page.FirstCustomer.cboOvertimeBonusCurrency.rawValue = currency;
topmostSubform.IFFPage6.Page.FirstCustomer.cboFeesCurrency.rawValue = currency;
topmostSubform.IFFPage6.Page.FirstCustomer.cboEarnedOtherCurrency.rawValue = currency;
I need the ones =currency to be read only. Is there a way to make them readonly? I dont want them to be able to change the drop down after a master currency is selected.
Use the 'access' property. YourField.access="protected" and YourField.access="open".
Kyle
Similar Messages
-
How to make fields read only after form is filled in
I am creating forms to be used within our company. The customer srv representative (CSR) would fill in the form and send it to the customer for signature and initial. There are a few issues I can't solve.
1) I need to make the rate & services fields read only after the CSR initials the formWill the CSR have Acrobat or just Reader, and what type of computer will the CSR be using (Windows/Mac/mobile OS)? If just Reader (Wind/Mac), this is possible by setting the fields to read-only with JavaScript. The problem is this can't be considered secure, even if using a password as discussed here: Password-protect and hide one form field
With Acrobat you have the ability to flatten certain fields, which makes it a bit more difficult to change the "fields". -
Make Sticky Notes Read-Only After Creation?
Hello,
I am wondering if there is a way to make sticky notes read only after someone has created one?
I have a form that we want people to add comments to but we don't want anyone to be able to remove those comments. Possible?
Kristi TostResolved it : in click event javascript
ADOBE_DATA.form.field.access = "readOnly"; -
Make all text fields read only after signing form
Hello,
I have a live cycle form which needs to have all of the text fields set as read only after signing.
The java script has been placed in the post sign event of a digital signature field.
for(var i=0;i<this.numFields;i++) {
var cNm = this.getNthFieldName(i);
if (cNm.type = "text") this.getField(cNm).readonly = true;
After signing the form the following console error is shown:
this.getNthFieldName is not a function
Can anyone please advise how to revise the script so that when the form is signed all of the text fields become ready only?
Any assistance will be most appreciated.
Thank you.You don't need any JavaScript to do this.
In Designer you can setup the signature field in that way, that all fields will be locked after signing.
Look here:
http://forums.adobe.com/message/3121870?tstart=2 -
How to make form field read only for users with certain permissions
We need to make two form fields read only for users with certain permissions. Kindly guide me on how to do this in Infopath. I searched and there is an option to disable to the column, but no option to select user permissions.
Please give your suggestion on this.
thanks.Hi,
See the link below:
http://info.akgroup.com/blog-0/bid/69277/InfoPath-Restrict-visibility-to-users-in-a-SharePoint-Group
Here you can add the fomatting action on the field to disable the field if those users belong to certain Sharepoint group (does not matter the permission levels though). Hope it helps.
Regards, Kapil ***Please mark answer as Helpful or Answered after consideration*** -
Make adobe form -read only after Submit button
Hi,
I have an Interactive form withuser input fields.
I am submitting it via E-mail.How do I make it read only after I click Submit ?
I am using javscript for sending e-mail.
rgds
varaResolved it : in click event javascript
ADOBE_DATA.form.field.access = "readOnly"; -
How to make a field read only at run time by entering the value in another field.
Hi Team,
Recently i got a requirement , i Have 2 dff's at header level and line level related to down payment ,and the DFF having two fields such as amount and if i enter amount that should be converted into % then populate the total amount field, at the same time % field should be gray out . if i give %(percentage) then amount field should be grayed out(read only) and then it should populates towards the total amount at header level.
Can any one help me on this issue.
Thanks,
raghavaI would to elaborate this issue...
I have DFF's enabled at Header level and line in Purchasing Module -->Buyer WorkBeanch --> Order page here they did, as "Details". Details contains two Filed's
1. Amount
2.Percentage (%)
Requirement :
i.if i enter "down payment amount" then "down payment %" going to become read only. vise verse.
ii. If I enter "down payment amount " or "down payment %" at header level then not allowing to enter at line level .
thanks,
raghava -
Make expense report read only after approval
Hello,
Please guide on how to make an expense report read only once it is approved and no change option should be enabled on enterprise portal. I have tried all the combinations of security in the ESS roles inside ABAP but not able to find the right combination. Please suggest.
Thank you.it needs P_travl authorisaiton
Create a new Travel Request or Expense report (AUTHF W)
Change open travel Request or Expense report (AUTHF W10, W30)
Change returned Travel Request or Expense report (AUTHF W11, W31)
Create Expense report from approved Travel request (AUTHF W21)
use the note 1402925
If you create an expense report based on a not approved travel request,
the system asks for authorization to change this request
(W11 or W10) for AUTHF and then 30 or 31 for AUTHS.
THis combination is of course given by your P_TRAVEL object.
You need at least 2 seperate P_TRAVEL objects, whereas only 1 of them
contains AUTHS values for expense report. This must only contain
W2* and 30 / 31. Hopefully this could help. -
Make field read only untill value within pciklist is choosen
Hello,
I am trying to establish if it is possible to make a field read-only until a value within a pick list is chosen. Basically we have a pick list called structure and if the field value called "Aligned" is selected then I want the text field called Aligned Name to be available for import all other times this field should not be available.
Has anyone done anything similar? I'm guessing that this could only be achieved through WF but I haven't been able to find any code to make fields read only.For those of you unable to download the document from MetaLink3 here it is:
As an example to illustrate this requirement, let’s say that once there is a checkbox field called "My_Check_Box". When this field is checked, the "Account Type" field need to become a required for entry by the user. To do this follow these steps:
1. In the Admin> Application Customization, select the appropriate Object and go into the Object Field Setup.
2. Edit the field called "My_Check_Box" and enter a Field Validation expression so it uses the following expression:
=[<bMy_Check_Box_ITAG>] AND NOT([<AccountType>] IS NULL AND [<bMy_Check_Box_ITAG >]='Y')
3. Enter an explicit error message.
This expression means that when the checkbox field is checked, the Account Type becomes required. Your custom error message will be raised when checking the checkbox, leaving the account type unpopulated and trying to save the account record.
4. Edit the Account Type field and enter the following expression as Field Validation:
=[<AccountType>] AND NOT([<AccountType>] IS NULL AND [<bMy_Check_Box_ITAG >]='Y')
5. Enter an explicit error message.
That validation handles the user case where a user changes the Account Type value from a NOT NULL value to a NULL value. Your custom error message will be raised when emptying out the account type from a populated value to nothing while the checkbox is checked and trying to save the account record.
Note that the expression in both fields validations begins with the field variable on which the statement is being written.** -
OA Framework,how to make field Read-Only which is used inside Switch case
Hi all,
Using Personalization in OA Framework, when I am trying to make field read only, which is inside Swich statement ,then that field get automatically hidden.but my purpose is to make that field read-only not hide.
My field name is Proposed Annual Increase Amount .
The Personalization swtich case lookslike this :-
Field Name Shown
Switcher: Proposed Annual Increase Amount Yes
case_name_HrPRateAnnTotInputSs
Message Text Input: New Annual Amount Yes
case_name_HrPRateAnnInputSs
Message Text Input: Annual Pay Rate Yes
case_name_HrPRateCurrAnnSalSs
Message Styled Text: Pay Rate
Regards,
Mxj2930Can you be a bit clear on your requirement. If you have a switcher to display a field based on some condition, the other fields will not get displayed. I did not get as to what you mean by "my purpose is to make that field read-only not hide.".
Are you talking about the case, when the "New Annual Amount" (or) "Annual Pay Rate" fields are displayed conditionally, you want them to be read-only and not editable. If this is the case, set the read-only property of these fields to true. -
While I may allow a customer to see their billing address, I don't want them to change it. How can I make certain fields read-only?
Hi Thomas,
If you are using 2007, find the ~/common/controls/accountaddressblock.ascx and make the templatefields that hold the delete button and the edit button invisible.
<asp:TemplateField Visible="false">
You will probably also want to make the add button invisible.
If you are on 5.9, this may not work. I think the address block is also used in the admin area. -
Is it possible to circumvent read-only after a pdf has been signed?
Hi, my pdf has a signature field. In the signed event I have make all fields read-only. Is it possible for someone to come along and make them not read-only anymore? It seems the easiest way to make my document tamper-proof. Thank you.
goodprogramming wrote:
It's not the file that is set to read-only at the OS level. The signature field has an event for signed. Once that occurs I have the checkbox selected that says mark all fields as read-only. I want to be sure it is really read-only and that there is no way to make it non-read-only.
save as does not change the read onlyness of the pdf. I have tried this.
It shouldn't matter.
Making changes to the file after the signature is added will invalidate the signature. You'll know someone has been messing around if the sig is invalidated.
Even if you have a reason to do what you want, you can't. At least not without a very expensive Digital Rights Management solution plus a server to run it. -
Making a field read only (and bound) or editable depending on some criteria
Hi,
I am using Netweaver 2004s SP15 and Adobe Lifecycle Designer 7.1 with Web Dynpro for Java.
I am generating a PDF that contains a number of fields that are bound context values attribues.
Now I know according to certain criteria if any given field will have a value....
Now if such a given field has a value then it must populate the Adobe form and make that field read-only - so it can not be changed.
However, if that field has no value.. instead I need to make it editable.
I am re-implementing the application this will be used within; and the previous version had 8 different interactive forms to cater for the 8 different possible combinations of fields that would not have values.
I would really really prefer to have one interactive form to maintain with logic in it that determines dynamically if a field should be read-only or editable. (For example I could have a boolean context node that could be used)
Am I doomed to have to create 8 different forms? Or is there a way of doing this smarter?
Thanks to anyone who can point me to the light,
Ilanhmmm....
I did a search through the forum using the phrase "javascript" and it turned out a lot posts that indicate that this should indeed be possible.
I am boggled, the original application was developed by an Indian outsourcing company that is well respected. The developer who took over maintenance of it told me that it was impossible to change the read only nature of the fields once set at design-time.
My search through the forum has turned up much to indicate that this design was idiotic and the "facts" I was given completely wrong.
grrrrrrrrrrrrrrrrr... I am marking this as answered now. I will have to learn some javascript.
Are there any caveats for using it within WDJ?
I am assuming I can do something simple in pseudo-code.. (I will need to work out the Javascript version).
if (hasOption1) {
field.readonly = true;
field.style = sunken;
else if (hasOption2) {
else if (hasOption3) {
etc
(There are only actually 3 options that can change.. but that results in 8 different possible forms) -
Make a field required on record creation, read only after that
Hello,
Does anyone know of a way to make a pick-list field required on record creation, but read-only after that? The other twist to this is that we need to allow this field to also be read-write for all the integration edits, since this field's value could change in the enterprise database.
Thanks,
Neal G.Hi !
I think you can add a validation rule for that. Something like :
IIf(PRE('<YOURFIELD>') IS NULL, <> '', = PRE('<YOURFIELD>'))
This means that if the previous value of your field is null (it's a creation), so the value must be different than blank. Else, it must be equal to the previous value, so not modified.
I didn't tested it, but I let you get back to me if it works... or not !
You'll just have to add a message saying that this field is required on creation and readonly after...
Hope this will help, feel free to ask more !
Max -
How to make users to select the date from calendar control only, by my making the date text field read only (don't want to let users type the date) in date time control in external list in sharepoint 2010. I am looking for a solution which can
be done through sharepoint desginer / out of the box.
thanks.Congratulate you got the solution by yourself. I am new to a
WinForms calendar component, I feel so helpless on many problems even I'd read many tutorials. This question on the
calendar date selection did me a great favor. Cheers.
Maybe you are looking for
-
Error message 'not a valid PDF document'
Hi folks, my Z10 has trouble opening some PDF documents sent as email attachment. When I try to open them the error message appears: Important message The document cannot be opened because it is not a valid PDF document There is no BES10 Service invo
-
i have purchsed gem in clash of clan through my credit card but i didnt recieve the gems..it has also reflected in my bank account and my itunes purchase history...how can i get them back??who should i complain to??? plz help....
-
Why does my macbook pro freeze when updating my iPhone to iOS 4
when i try to uodate my iphone 4 to ios 5, my macbook pro freezes up in itunes and i cant use it. i try to close out but nothing works, it cant force quit, and it just doesnt like me. please help!
-
using a macbook pro running 10.7.5 and Lightroom 4.3..I set up the photos in a 2x2 grid exactly the way I want it to look. I print to Canon MG6220 and the grid keeps printing at 4x6..how do I get it to print full page?
-
WCF-Sql Addapter polling issue
Hi All, I am getting the following error when receive location is started. System.Data.SqlClient.SqlException (0x80131904): Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding. ---> System.