Clear form Option resets read only properties

Hey guys,
                     Using your help I got my problem solved last time. So when I have a series of Questions, I set all questions to read only in their properties except the first Question. Once the first question is answered, using the script below, I then set read only for the next question to false and students can answer the next question now. So using this pattern, it allows them to answer one question after the other without skipping any.
The Mouse Up action for each "Radio Button1" could be:
if(event.value != "Off") this.getField('Radio Button2').readonly = false;
Now, while this works perfectly for time being, I keep experimenting with this form with lots of modifications made as needed. When I use the "clear form" Option to empty all the form fields before saving it, all the read only Questions reset and now when we close and re open the file, any question can be answered and the script used above has no more value.
What is the script needed here to avoid the read only questions to reset when i use the clear form option. Please help me out here!

Clear the form menu action or the "this.resetForm();" script only resets the values of the fields.
You script will one execute when there is a Mouse Up action, and if a radio button or check box is set to read only then there can be no field actions. The field is locked to user interaction and can only be manipulated by JavaScripts.
There is no trap for the reset or clear action so even if you created a button to reset and clear the form fields with the read only property set, you would still have the issue of the user using the menu option. You can add a document level script to clear the read only property of fields when the form is opened.

Similar Messages

  • Updating Media Content - stuck at Reset Read Only Attributes.

    I'm currently using - MDT 2010 on Windows 7 on a Virutal Machine. I deploy my images using a USB stick. (Advanced Configuration / Media). The process of creating a selection profile, Creating Media, and updating my media works perfectly.
    I wanted to move to MDT 2012 SP1 on Server 2008 R2 platform. So I installed AIK, MDT 2012 SP1, etc on a Server 2008 R2 Virtual Machine. I setup the MDT same way as my current working model and it was looking good. Next I created my Selection Profile
    and Media. Then when I ran "Update Media" it seems to work until it gets stuck at the last process "Reset Read Only Attributes"
    Looking for any advice on why it might keep getting stuck here. The only way I can exit the process it to "Stop Execution"
    Reminder - on my Win 7 / MDT 2010 box, it works fine and this process completes.
    Thanks for any feedback.

    What is happening here is that MDT Litetouch console is calling OSCDIMG.exe, and that program has stopped.
    Sadly, MDT does not capture the OSCDIMG.exe output for analysis, so we are stuck here.
    I have personally encountered problems with OSCDIMG.exe running on my Windows 8 box, where images created with source files from the C: pass, however when the source files are placed on a "Storage Spaces" volume, the program hangs. No response from MSFT.
    If you need help diagnosing the problem, you can run OSCDIMG from a console window, just to see what the output is
    OSCDIMG.exe -u2 -udfver102 -m -o -h -w4 "<MediaSrc>" %temp%\Dest.iso
    Longer:
    OSCDIMG.exe -u2 -udfver102 -m -o -h -w4 -yo"<Path_to_Bootorder.txt>" -bootdata:2#p0,e,b"<Path_TO_ETFSBoot.com>" #pEF,e,b"<Path_TO_EFIsys.bin>" "<MediaSrc>" %temp%\Dest.iso
    -k
    Keith Garner - Principal Consultant [owner] -
    http://DeploymentLive.com

  • How to NOT ignore java beans read only properties when serializing Java to AS?

    As stated in the Adobe LCDS documentation, the read-only properties of a java bean are ignored in the AMF serialization process.
    Would you know what to do so that Java beans read only properties do not get discarded when sending it via BlazeDS AMF?
    Many thanks in advance.

    Hi,
    I've managed to get what I needed by using a shift register + event structure as suggested by Adnan. However, I face another problem after implementing SR+event. I've attached two files, first the original program and second the updated program using SR + event. (it's only the jpg file as I've forgotten to save the labview program, will upload the program by tomorrow.
    In the original program, I have an elapsed time that is able to run continuously when I run the program. In the updated program, my elapsed time don't seem to run continuously when I run the program (as shown by elapsed time indicator). I need the elapsed time to run continuously as a input to calculate my motor profile.
    I suppose this is caused by the introduction of the event structure, will adding a case structure to wrap the event structure solve the problem or is there another way to get pass this. Appreciate if someone could drop me a pointer or two.
    Thanks
    Attachments:
    Mar 16 - continuous elapsed time.png ‏12 KB
    Mar 16 - elapsed time not continuous after introducing shift register + event structure.png ‏17 KB

  • How to save a Form as a read-only pdf?

    I created a form in Acrobat X. I need to be able to send this form to some of our team members so they can fill out and save it as a read only file that can then be sent to customers. How can I do this?

    Reader 10/11 has a means to flatten a form as part of the EchoSign e-signing tools. They could fill-in the form and select: Sign > I need to sign > Signed. Proceed to Send > Save a Copy
    You'll just need to instruct your team members how to do this. It is more secure (for lack of a better term) since it removes the form fields but leaves their appearances, making it more difficult for someone to change. Most people wouldn't know how to change the values of read-only fields, but it's quite easy for someone who does.
    This option won't be available if the document is Reader-enabled, but if your team members are using Reader 11 they will be able to save a form without it being Reader-enabled.

  • How to lock a form (all fields read only) using a button (JavaScript)

    Hi guys,
    I have a form with several input fields, check boxes. Using a button in the form, I would like to lock it using a JavaScript. Locking means in my case that all input fields, checkboxes, etc. are read only (cannot be changed anymore).
    I already use the following approach:
    data.form.MyInputField.access = "readOnly";
    The problem is, that this approach is not comforable from maintenance perspective. I would like a more generic or more simple way.
    Generic:
    loop over all fields and set them to "read only"
    Simple:
    xfa.form.lock; // but this does not work
    Do you have any ideas how to solve this requirement in another way as I currently do?
    Thanks,
    Thomas

    Now I used the following script:
    // set the whole form as container
    var objContainer = data.Report;
    // call the method to set all fields to read only (recursion)
    disableAllFields(objContainer);
    function disableAllFields(objContainer) {
         for (var i=0; i < objContainer.nodes.length; i++) {          
              switch (objContainer.nodes.item(i).className) {
                   case "field" :
                   case "exclGroup" :
                        objContainer.nodes.item(i).access = "readOnly";
                        break;
                   case "subform" :
                        disableAllFields(objContainer.nodes.item(i));
                        break;
                   default:
    It works but is there another possibilitiy such like
    form.lock;
    Thanks,
    Thomas

  • Make single option as read only in Radio group

    Hi
    How to make a option readonly with respect to condition in radio group in oracle apex 4.0. Example
    option1
    option2
    option3
    option4
    I want to make the option4 read only based on the condition.So Where the codition needs to be added.
    Regards
    Balaji
    Edited by: 904493 on Feb 7, 2012 1:19 AM

    Just thinking aloud (can't test it right now myself): I'm not sure whether you can disable (or set read only) a radio button. However, if you don't need one of these options, perhaps you should modify List of Values query which returns these options. Furthermore, it means that list shouldn't be static but dynamic (SELECT statement).
    So how do we restrict SELECT's result set? By using a WHERE clause.
    Now, you know the conditions that have to be met in order to (or not to) display certain options. Suppose that there's a page item (named P1_CONDITION) which - if set to 4 (as "option*4*) - won't allow option4 to be displayed.
    List of values' query might look like
    {code}select option_name, option_id
    from options
    where option_id <> nvl(:P1_CONDITION, -1) --> -1 is a non-existent option
    {code}

  • Execute "Save As" on PDF Form open, Create Read-Only

    I need to create a read-only version of my form so that I can protect the original, so I thought that I could put a app.execMenuItem("SaveAs"); as a new document script to force the user to save as when they open, but it seems to not be working. The file is in a shared dropbox folder, so just a simple read only is not going to work. Is there a better way to achieve what I am doing, or do I just need to change my code?

    Oh man! I was really hoping that wasn't going to be the case! Thanks a lot man, I appreciate the help!
    I'll leave this forum open for another week, maybe someone else has something experimental to try, thanks everyone!
    -tech_geezy

  • How to create read only properties in a component?

    I want to set a property in a nucleus component of global scope as read only, so that it cannot be set via dyn admin. I want this property to be set only via properties file at server startup. I tried removing the setter method as suggessted in the guide. But what happened was the property was not set with the value in the properties file and was set as null. It did appear as read only in dyn admin, but part of my purpose is still not resolved. Any help/info for setting the value from properties file alone and restricting thro dyn admin is appreciable.
    Thanks,
    Gopinath Ramasamy

    You may also try this in your component class by overriding doStartService() which will be called once the component is initialized with property setter has already been called:
    import java.beans.PropertyDescriptor;
    import java.beans.IntrospectionException;
    import atg.core.util.BeanUtils;
    import atg.nucleus.GenericService;
    import atg.nucleus.ServiceException;
    public class MyComponent extends GenericService {
          private String x;
          public String getX() {
              return x;
          public void setX(String value) {
              this.x = value;
           public void doStartService() throws ServiceException {          
              try {
                            //make property named "x" as non-writable
                   PropertyDescriptor pd = BeanUtils.getPropertyDescriptor(this.getClass(), "x");
                   pd.setWriteMethod(null);               
              } catch (IntrospectionException e) {
                   //handle exception
                            logError(e);
                            e.printStackTrace();
    }I think it should make the property "x" rendered as read-only in dyn/admin after it has initialized through properties file.
    Update: I have tried it in an existing ATG 9.4 setup and it was working as expected.
    Edited by: Nitin Khare on Aug 14, 2012 9:01 PM

  • Why my Data form is  still read only

    Hi All,
    I have created a planning application with the following dimensions
    Accounts, Entity, Scenario, Year total, version and currency.
    In entity dimension I have the following members
    Entity
    UK(level 0)
    US
    North Carolina
    Charlotte (level 0)
    Australia (level 0)
    In version dimesion I have two members draft1 as standard bottom up and draft2 as standard target.
    Data Form's Layout*
    PAGE : DESCENDENTS (SCENARIO), DESCENDENTS (ENTITY),DESCENDENTS (SCENARIO), (DRAFT1,DRAFT2)
    ROWS : DESCENDENTS (ACCOUNTS)
    COLUMNS : IDESCENDENTS (YEAR TOTAL), ISIBLINGS (FY12)
    After creating the data form, I tried to enter data in the Charlotte (level 0) but it is in read only form even though I select the version as draft 1 ( standard bottom up) . How can I overcome this issue.
    Kindly guide me.
    Thanks and Regards
    ChiDam
    Edited by: ChiDam on Jan 19, 2012 9:33 AM

    Hi KP,
    Thanks for your reply. The year total and period dimensions are set as columns in data form layout. We know that we won't select the member of the dimensions which are mentioned in columns but we select the member of the dimensions which are mentioned in pages. Also we checked which you have mentioned in the previous post. Is there any other possibilities to overcome this issue.
    Thanks and Regards
    ChiDam
    Edited by: ChiDam on Jan 19, 2012 12:51 PM

  • Add Row on Tabular Form - column from read only to update/insert allowed

    APEX 4.2.2
    Newbie in the APEX forums, go easy please.
    I'm building a rather simple tabular form based on a table with a primary key (emp_number). Sounds like an Oracle tutorial but trust me, it's a real table. This table has, for this example's sake the following attributes:
    Table Name: EMP_EXCEPTIONS
    EMP_NUMBER      NUMBER (PK)
    UPDATE_EXEMPT VARCHAR2(1)
    I've used the Tabular Form wizard to create a nice looking tabular form page, all good and works as intended. Of course the primary key value is non update able by the wizard and that's by design - I've no need to update any primary keys. When I click the add rows button however, I'd like to be able to include the emp_number field as a input able field. At the moment, when I click the add rows button it inherits the property of the emp_number as read only. The user entering the new row would know the employee number and whether they were update_exempt or not. So rewinding my head in Oracle Forms, this would have been done by setting the row attribute as update allowed when the button is clicked. Is there such simple functionality in APEX and if so can you point me in the right direction?

    It seems to be true:
    - if there is ascending order on columns which fields are null in new line (have no default value), new row is visible in current "pagination" page
    - but if there is DEScending order OR ANY sort order is set on columns which fields are NOT null in new line (have default value), new row is NOT visible in current "pagination" page
    thank you!

  • Must make firefox stop autoloading password! Help! Tools/Clear/Form option won't let me disable

    Every time I tried in the past to sign on to gmail, Firefox asked me if I wanted my sign-in info remembered. I said "never for this site." But the damned pop up kept coming up and I hit the wrong button or something. Now it automatically signs me on to gmail, which would be great if I didn't have 4 nosy office mates. I can't figure out how to stop it. Tools to Clear won't let me checkmark Search & Form History! I don't know what to do.

    The user name can be stored as form data, but passwords are never stored as form data, only as name and password in the Password Manager and you can use a master password to protect passwords stored in it.
    *Tools > Options > Security: Passwords: "Saved Passwords" > "Show Passwords"
    *https://support.mozilla.org/kb/Protecting+stored+passwords+using+a+master+password
    There is a difference between remembering the name and password in the Password Manager and a "remember me" check box on a web page to log you in automatically.<br />
    The latter usually involves the creation of a special "remember me" cookie that is stored on your computer and that is send to the server.<br />
    If that "remember me" cookie is removed then the server won't remember you anymore and you need to sign in once again.
    *Tools > Options > Privacy > Cookies: "Show Cookies"
    * http://kb.mozillazine.org/Cookies

  • Is there a flatten form option in reader x? In reader 9 there was a pdf optimizer panel...

    In Reader 9 there was a pdf optimizer panel that you could check off to have the form fields flattened. Is there a way to do this in Reader X, not Pro but Reader X?

    Gilad,
    I'm really confused now but I just entered data filler fields on my new PDF fillable form saved allowing a user to enter data from the reader and save/print it and there is gray shading displayed in the reader, where the fields are and sent it to the printer from reader 10.1.7 of Adobe Reader X. and the field shading is now printing out.
    This is working fine as I would expect it too.
    Here is my steps
    1. Create a fillable form in Acrobat XI
    2. Save as others etc. to save it so saving/printing is allowed in Reader X
    3. Open Reader X, fill in some fields on each page and you see shading showing where the fields are (not background color set in the appearance tab in properties, but field shading)
    4. Choose Print and print it out and the gray shading is now showing but the data filled in is printed as expected.
    No coding has been done.
    I don't mean to keep adding comments to this, but it does work without coding doing the steps listed above. (In the trial version, this did not happen).

  • Making Multiple Digital Signatures Read-only in Form (Acrobat 9)

    I have created a form which includes two (2) digital signature fields.  What needs to occur with the form is Person1 fills the form and then digitally signs it thereby making the form fields read-only .  Person2 then digitally signs the form which should make Person1's digital signature read-only.
    Here's what I've done:
    1) For the Person1 digital signature field, in Digital Signature Properties, under the Signed tab, I have selected Mark as read-only <all fields except these> and selected the Person2 digital signature field.
    2) For the Person2 digital signature field, in Digital Signature Properties, under the Signed tab, I have selected Mark as read-only <all fields> since once Person2 signs the form I do not want Person1 to be able to clear the digital signature and make changes to the form.
    Here's what actually occurs:
    Step 1 above works fine.  Once the signature is applied all the form fields are read-only except for the Person2 digital signature field.
    The problem is that after Person2 digitally signs the form, even though I selected all fields as read-only, Person1 can 'clear' their signature which leaves all the form fields available for editing and leaves Person2's digital signature still on the form.
    I honestly don't care about 'validating' signatures on this form since it's going to be printed but I cannot allow Person2's signature to remain on the form and allow Person1 to edit the form.
    --Mike.

    Hi!
    I have the same problem. Have not been able to figure it out, although tried everything.
    Hope somebody can help
    - MackeMan

  • Profile preferences reset to "Read Only" after turning it off.

    I cannot start Firefox. It says it is already running. Task Manager does not show any instances running. There is no "parent.lock" file in the "......default" folder. Each time I look at the preferences for the "profile" folder, it shows "read only" is set. I clear it and the next time I look at the preferences "read only" is set.
    I have uninstalled and re-installed Firefox but it still resets"read only". Looks like the profile folder has something corrupt in it.

    Only a check mark in the Read-only box means that a folder or file is Read-only.<br />
    Windows doesn't check all the files in a folder so instead displays a green block to indicate that it is not sure.<br />
    You always need to look at the files individually.<br />
    Easiest to do that is to make the Attributes visible in "View > Details" mode: Choose Details in Windows Explorer.
    A possible cause is security software (firewall) that blocks or restricts Firefox or the plugin-container process without informing you, possibly after detecting changes (update) to the Firefox program.
    Remove all rules for Firefox from the permissions list in the firewall and let your firewall ask again for permission to get full unrestricted access to internet for Firefox and the plugin-container process and the updater process.
    See:
    *https://support.mozilla.com/kb/Server+not+found
    *https://support.mozilla.com/kb/Firewalls
    *http://kb.mozillazine.org/Browser_will_not_start_up

  • Form personalization for a read only responsibility for a custom form

    Hi,
    I have a read only responsibility. My requirement is to make a custom form updatable through this responsibility but wth a condition that only the specific custom form should be updatable and rest all other form accessed through read only responsibility be read only. How can i achieve this using form personalization?
    Pls give me detailed steps if possible.
    Thanks

    I tried override Query Only values through Forms Personalization but it did not work for me. With a bit of determination I might have been able to work around it but no luck on that front.
    You can do it this way, although it's a bit cumbersome:
    1. Clone every function and menu in the Responsibility
    2. In all but your custom function set the Function parameter QUERY_ONLY=YES

Maybe you are looking for