I created a Custom list New Form and need to make the text fields read only

When I use SharePoint Designer and add the read only attribute  to the  SharePoint form field, then it throws  a web part error.
but here is the thing, I have current user Filters populating the Form Fields. So the form fields  populate First name , last name etc. and I need these fields read-only....
the Client doesn t want the end user to Change those fields.  Is there any way to "LOCK" the form fields?
As I have only 7 text fields that need to be locked down. and one field is a signature line that is a true input field.. where the  user has to inter their initials.
Any ideas? as I have tried most of the items available thru searches nothing works, or it throws that web part error message.
Steve Athey

Daniel: ( I'm now at work, a different ID is logged on for me)
I used SharePoint Designer.
Steps:
 created a web part page
then on the SharePoint Designer ribbon I then went to insert:
new item form
Then I selected my data source (list)
then I placed the 8 columns on the page
a page viewer web part to pull the manual that people have to read.
and 7 current user filter webparts. (1 for each form field) Yes it is over kill, but I'm trying to keep this straight out of box as much as possible...
then for the form fields
I added a parameter and the read only tag see below in bold:
<asp:TextBox runat="server" text="{$ParamEmployID}" id="ff17{$Pos}" __designer:bind="{ddwrt:DataBind('i',concat('ff17',$Pos),'Text','TextChanged','ID',ddwrt:EscapeDelims(string(@ID)),'@Employee_x0020_ID')}" 
ReadOnly="True" />
I also  added the parameters in the ribbon area
the error message doesn't tell me much, it just send me to web part maintenance page... 
if I removed the  ReadOnly = True then the error  goes away.....   So I was trying to find a  quick simple  JQuery and or javascript   code item that would  make  the 7 text fields readonly and leave the
8th  text field alone  to allow people to place their initials on the page to say that they read the manual.
I have  created hundreds of these types of pages .. this is the first time I have run into this issue, but it also the first time I have tried to use the ReadOnly = True item.
Any Ideas  and or thought on how to make the  items read only? and not throw the error.
Steve

Similar Messages

  • 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 few DFF fields read only in Forms

    Hello.....
    I am having an Issue in forms customization through custom.pll
    I need to make few DFF fields read only in HRMS enter and maintain form through custom.pll
    I tried with fnd_descr_flex.update_definition but in vain
    So please help me how to rectify this issue.
    Edited by: user.nazeer25 on Jul 9, 2010 5:27 AM

    Hello,
    Wrong forum.
    Ask this kind of question in the E-Business Suite forum ;-)
    Francois

  • I have a line drawing (black on white paper) i have scanned and need to make the white paper transparent, maintaining the line drawing, can i and then HOW can i do this in PS?

    i have a line drawing (black on white paper) i have scanned and need to make the white paper transparent, maintaining the line drawing, can i and then HOW can i do this in PS? this is for my business logo. ive used it for years but with a solid background. id like to have it just be the drawing over my photos with a transparent background.

    First let me apologize for posting a reply that was only suitable for advanced users.  Photoshop is broad and powerful therefore has a huge learning curve.  In fact I would state no one knows and uses all of Photoshop.  When we first get Photoshop it intimidate us and we're very uncomfortable using it.  Many thing are not intuitive there in much learning involved.  After some time we begin to know something and we are able to do some thing.  Learning become rapid and we start playing in Photoshop.  It is very important to play with Photoshop.  Playing with Photoshop and asking for help with in forums like this IMO is the best way to learn. 
    Photoshop Power lies in layers, selection and automation.  However it takes knowledge to use photoshop well so most powerful tool you have ins Photoshop is the gray matter between your ears.  Most at one time or another want to watermark or put a logo on their image.  So its best to automate this process. All run into a problem in the process. "Size"  We find our assets vary in size and aspect ratios. Landscape, Portraits, Panoramas and others. This complicates automation.  Vector graphics works best when size vary greatly.  If you can not work out how to create a vector solution like a custom shape.  Create your Logo and watermark large thing scale down better the up. Text scale well for text uses vectors graphics however if you rasterize text it will not scale well.
    I do not type or do English well so let me do some screen captures.  I can not stress enough how important Black, White, Grays and Blending is when it come to image processing.  Become friends with Multiply, Screen, Overlay and Luminosity blending.....
    However when there is a white or black background though you can blend them you can not add a style like a drop shadow, emboss or make it invisible setting fill to 0 so only the style is visible.  When there is contrast between the logo and background it is easy to separate the two. To select the background and delet it to have the logo with a transparent background.  Many tools can be used to create the selection hee I use my action kill white.
    Vector Shape would work better for scaling However it would be best to create the logo from scratch in a vector program like illustrator but I never had the resources to justify the Creative suite. I only had Photoshop.  Recently Adobe gave me and other a year subscription to the creative suite for our participation here.  I still have not installed anything but Photoshop,  A while back I found a program that can create vector patf for black and white art work.  It will not be as good as using something like illustrator. However vector paths can be edited in Photoshop and cleaned up some. Here is the PSD it 13MB because od the gradient http://www.mouseprints.net/old/dpr/AmPm24-7.psd

  • How to make users to select the date from calendar control my making the date field read only in date time control in external list in sharepoint 2010

    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.

  • How to create a group/list of check box variables for display in text field, in appended format

    I need to identify a series of single-response checkbox variables and display the ones selected (as a group) in a text field in an appended (comma, space) format. Last week, you provided a great little script for a similar need using List Box (multiple response) variables. This time I need to know how to formally identify the checkbox variables and, I presume, use a similar script to display the results in a comma, space format.
    You've been of great help.
    Thanks

    Here's the script adapted to this situation. It assumes there are ten check boxes named cb1, cb1, cb2, ...cb10.
    // Custom Calculate script for text field
    (function () {
        // Initialize the string
        var v, s = "";
        // Loop through the check boxes to build up a string
        for (var i = 1; i < 11; i++) {
            // Get the value of the current check box
            v = getField("cb" + i).value;
            if (v !== "Off") {
                if (s) s += ", ";  // Add a comma and a space if needed
                s += v;  // Add the selected value
        // Set this field value to the string
        event.value = s;
    You'll have to change the field name and starting/ending numbers to match your form.

  • I just bought a new mac and need to clear the memory of my old one but i don't have a startup disk.  how do i do this?

    I just bought a new mac book pro and need to clear my old mac of it's contents to give it away---  I do not have my startup disk anymore.  How can i completely delete my old mac's memory?

    Erasing your drive:
    Dragging the files to the Trash removes the references to them from the Directory. As has always been the tradition, the data blocks that held the actual data are not over-written, they are merely added to the free list for later re-use. Their original contents are still present.
    Disk Utility "Erase" or "Partition" of a drive (which finishes in under a minute) also does not over-write the data blocks, but merely creates a new, empty directory.
    To clear the data that may still be present (admittedly in a disorganized mess of unlinked blocks) you need to overwrite the data. Use the erase tab, then choose "Security Erase" Options, and overwrite once with Zeroes. This process can take several hours as it is -- if you insist on multiple passes, it can take days to complete, with little additional protection. Multiple passes is unnecessary unless your drive held Military Secrets.
    When you have erased, be sure to install some version of Mac OS X -- a Mac with no obvious Operating software may be dead, and  is much more likely to quickly become landfill.

  • Adding new line and sapaces in between the text in AI Script

    areaText.contents = "This is an Area Text in a rectangle. See how it flows to the next line.";
    i want to break the sentance from 'Text' ie i want to add new line in between and also some more spaces can any one plz help
    for example
    I want to write the above text like this way
    this is an Area
    Text in a rectangle.   See
        how it       flows to the
    next line  

    that's a much better explanation, you didn't have to create another thread, you could have replied to my reply in the original thread.
    we use the "\r" character to insert a new line and we can use "\t" to insert a "tab" for the spaces, or the actual spaces in a variable
    var sixSpaces = "      ";
    areaText.contents = "This is an Area\rText in a rectangle." + sixSpaces + "See\r" + sixSpaces + "how it" + sixSpaces + "flows to the\rnext line.";

  • Cut/paste text in a new TextFrame, and place it on the text original position

    With this script, the pagraphs with style "_DESTACADOS" are cut and paste in a new TextFrame, but place them in to first page. I need place it on the text original position...
    var myDocument = app.activeDocument;
    var myRegExp = ".+";
    app.findGrepPreferences = NothingEnum.nothing;
    app.changeGrepPreferences = NothingEnum.nothing;
    app.findGrepPreferences.appliedParagraphStyle = "_DESTACADOS";
    app.findGrepPreferences.findWhat = myRegExp;
    var myFoundItems = myDocument.findGrep(true);
    if(myFoundItems.length != 0){
          for(var myCounter = 0; myCounter < myFoundItems.length; myCounter ++){
              myFoundItem = myFoundItems[myCounter];
              myX1 = myFoundItem.characters.item(0).horizontalOffset;
              myY1 = myFoundItem.characters.item(0).baseline;
              myX2 = myX1 + 50;
              myY2 = myY1 + 50;
                app.selection = myFoundItem;
                    app.cut();
                myTextFrame = myDocument.textFrames.add();
                myTextFrame.geometricBounds = [myY1, myX1, myY2, myX2];
                app.selection = myTextFrame.insertionPoints[0];
                    app.paste(); // Pega el texto del caso encontrado
                myTextFrame.applyObjectStyle(app.activeDocument.objectStyles.item("_Destacados"), true);           
                myTextFrame.fit(FitOptions.FRAME_TO_CONTENT);
    THANKS...

    Hi Marcos Suárez,
                 If you've xml for the indesign document, u can use the following.
    myElement.placeIntoInlineFrame(["8p","6p1"]);
    I hope this code is useful in ur script.
    #include "glue code.jsx"
    var doc = app.activeDocument;
    var myRuleSet = new Array ( new idd)
              with(doc)
                        var elements = xmlElements;
                        __processRuleSet(elements.item(0), myRuleSet)
    function idd()
        var newstyle=doc.objectStyles.add("ObjectStyle1");
        newstyle.appliedParagraphStyle="Ap3";
        newstyle.strokeColor="None";
        newstyle.fillColor="None";
              this.name = "idd"
              this.xpath = "//title/p2"                    //set this xpath value to the xmltree element which u want to set into frame.
              this.apply = function(myElement, myRuleProcessor)
            var txt=myElement.placeIntoInlineFrame(["8p","6p1"]);
            txt.fit(FitOptions.frameToContent);
            txt.applyObjectStyle(newstyle, true);
      return true;
    This will create a textframe around the selected content which u want to do so...
    For more info, refer XMLElement.placeIntoInlineFrame() in Object Model Viewer....
    With Regards,
    Vel.

  • Acrobat Forms -- how do i make a text field opaque when typing

    I'm new to the Forms formatting, so bear with me. I'm trying to create a fillable form which has rules to fill in by hand. How can I create a text field box that will cover the rules behind it if someone chooses to type the info instead of handwriting. I found a script that almost works:
    if (event.value.toString().length > 0) {
    event.target.fillColor = color.white ;
    } else {
    event.target.fillColor = color.transparent ;
    The only problem with this is that the rules show while typing on top of them. The box turns opaque when a new entry is made in another field. Anyway to make the box opaque while they're typing ?

    Here's a link to a demo that I believe behaves as you want: https://workspaces.acrobat.com/?d=AG6oZ3bi3DYHokxDPeWN7A
    It is controlled by several scripts, so study them to see how it works.

  • Creating a button that will make fill in fields read only.

    I am having problems trying to research this issue that I am having, so thank you in advance to all who reads this and assists.
    What the overall goal is for me to create a form that I can send to a client and whenever they type the variable information in, they would check a box that would a) hide itself and b) lock certain fields but leave at least one open so they can send it off to their clients without worry of information thy have entered changing.  My client has acrobat reader and I am looking for the easiest solution without having to suggest them to upgrade. Also, I am not that familliar with java scripting (yet) so some of the forums I have read seem rather confusing to me even when I try to use the scripts provided.

    Just insert a link that uses mailto in the Add Filter or links dropdown just like you would with any other hyperlink.
    Example:
    mailto:[email protected]
    Here is a detailed info on how to create mailto links
    Mailto Link Syntax: The Complete Guide - Yoast
    Hope this helps 

  • Search and Replace values in the text field before values are stored to DB

    Hi,
    In my application there is a question - text area and answer - text field. Problem is, some answers are stored with the single quotes to the DB and I have a problem while retrieving it from the DB. I need to replace the 1 single quotes with 2 single quotes. The values are stored to the DB when the submit button is clicked.
    So I am using the following javascript code:
    italics
    <script type="text/javascript">
    function test()
    var str="&P2_S1.";
    document.write(escape(str));
    </script>
    italics
    I need to call this javascript function, when the submit button is clicked but BEFORE the values are stored to the DB. How can i get this done?
    Please let me know.

    Hi,
    Thanks for the reply.
    Yeah I planned to drop the Javascript idea.
    Now, I am using the PL/SQL code. This is what I am planning to do.
    When the user enters any word like this, Test's, this single quote should be replaced by some special character, #@@#, - what is the PL/SQL code for this?
    Right now my PL/SQL code is:
    begin
    update test set S1=:P2_S1 where name=:APP_USER;
    end;
    so the replacing part should come somewhere before the update statement.... how can I do it?
    from the DB when the values are retrieved, I use the following code:
    select REPLACE(s1,'''','') from test where NAME=:APP_USER; // this works fine.
    Please help me with the replace of the single quote before the update process...

  • I am building a new PC and need to swap the PS Elements 10 Licence from the old machine to the new - the old machine will be scrapped

    I am building a replacement PC, and want to install PS Elements 10 on the new machine. It is currently on the old machine and that machine will be scrapped once the new one is running - how do i go about this ?

    You are allowed to have the software installed and activated on two machines, but since you are scrapping the current one, you should deactivate the software on it if you are able to.... open the program and choose Help -> Deactivate.   If you are not able to access the machine to do this, then you should contact Adobe Support by chat or phone and have them do it.... Contact Customer Care
    All you need to do is install the software on the new machine (assuming it is compatible).  If you need to download PSE10 you can find it thru the following page...
    Download Photoshop Elements products | 11, 10
    You will need the serial number to activate the software.  If you do not have it at hand, you might be able to find it in your Adobe account online.
    To locate the serial number:
    http://helpx.adobe.com/x-productkb/global/find-serial-number.html

  • How do i move photos and catalog to a new drive and have lightroom make the same move

    I am trying to move all my photos to a new drive with different drive letter.  I know I can do a backup and restore inside PSE13 to perform that.  However, I also have Lightroom 5 on the current setup.  How would I now use the new location for the photos in lightroom if they are already moved by PSE?
    Hope this makes sense!

    I don't recommend the Time Machine or Migation Assistent approach. The first tneds to be very slow and the second often carries baggage that is probably best not transferred to a new computer.
    Lightroom doesn't use activation, therefore, can be installed on your new Mac without having first removed it fom the old. Your images and catalogs can be copied across to the new Mac using an a portable disk drive as the transfer medium. Typically, on Mac computers, the catalog and image files are stored in the Pictures folder. If this is where you have them then then copy them to the same location on the new Mac. Once copied you can open the catalog folder then double click on the .lrcat file to launch Lightroom.

  • Broken 4s screen and no display. Siri worked to make calls but now says "Siri not available connect to internet" still waiting on new phone and need to make calls. How can I get Siri to work again?

    I broke my iPhone 4s screen and display. Siri worked to make calls but now says "Siri not available, connect to the internet". How do I make Siri work again till I get my new phone?

    If not connected to the Internet, either through WiFi or 3G, you can't.

Maybe you are looking for