When i hide some fields from the Editform using javascript, what will happen to the fields that hve been hidden

I am working on an EnterpriseWiki site collection, and when users edit the page properties as follow:-
then will get all the fields inside the EnterpriseWiki content type as follow:-
now i want to hide all the fields except the ; Title & Name, so i edit the EditForm and i add the following script:-
<script>
$('#formTbl tr').filter(function ()
return !$(".ms-standardheader", this).text().match(/Name|Title/i);
}).remove();
</script>
so currently when users edit the wiki page properties they can only edit the Name & Title, because the script hide the other fields.
My question is what will happen to the other values such as the page content, assign to , etc that have been hidden.. I test this and seems that when editing the name and title the other values will not get effected which is what i need, but not sure how
did SharePoint handle this, i was afraid that hiding the other columns will set their values as null or empty if the user save the editform with only the title and name inside it ? can anyone adivce on this ?

Hi John,
From your description, my understanding is that you are worried about the values of some fields
 will been saved as empty if you hide them in EditForm.
If you hide some fields in EditForm, it means that you could not edit them. These fields’ values will not be changed after editing Title field or Name field. When you click Save button, they will be still the values before changing the Title field or Name
field.
Best Regards,
Vincent Han
TechNet Community Support
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
[email protected]
i found this very critical issue with hiding the fields from the edit form, now i wrote the following script inside the edit form , to hide all the fields except the Name
<script>
$(document).ready(function(){
$('#formTbl tr').filter(function () {
return !$(".ms-standardheader", this).text().match(/Name/i); }).hide();
$('#ctl00_ctl40_g_6c7d849e_da6b_4138_be9f_b99bde542065_ctl00_ctl02_ctl00_ctl04_c‌ ​tl00_WebPartMaintenancePageLink').hide(); });
</script>"
. and now if I submit the editform (which only contain the Name) all the html tables inside the wiki page content will be removed.

Similar Messages

  • What will happen to the data I´ve in my Key ring when migrating to iCloud

    What will happen to the data I´ve in my Key ring when migrating to iCloud?
    Any feedback is appreciated
    Uwe

    Hi Winston!
    Thanks for your quick response. I meant keychain items. So I you anserwed my question, perfectly.
    Best
    Uwe

  • What will happen to the organization of library if I removed the songs from windows explorer? Will iTunes automatically updated without all the deleted songs, or it will indicate 'missing location'? Any fast ways to clear this 'missing location' songs?

    What will happen to the organization of library if I removed the songs from windows explorer?
    Background: I found it easier to identify duplicated songs in windows explorer as the songs will be renamed .... 1.mp3, thus enabling me to remove the duplicated songs; unlike in iTunes where I know the trick of showing duplicate songs, but you don't know which one is the one with 1 at the end of the file name.
    Will iTunes automatically update the library without all the deleted songs, or will it indicate 'missing location' songs? Any fast ways to clear this 'missing location' songs by highlighting them all and delete all at one go?
    Thanks.

    One way is to use iTunes Folder Watch with its option to check for dead tracks on start up.
    Another option is with a set of Lost & Found playlists.
    Lost & Found
    Create a playlist called Found, select everything in Music and drag it into the Found playlist. Create a smart playlist called Lost matching All the rules Playlist is Music and Playlist is not Found. Your lost tracks will be in this playlist. You can delete them all with a Ctrl-A to select them and Shift-Delete to remove them.
    You can then delete the Lost & Found playlists.
    tt2

  • What will happen to the data block after data offloading?

    HI All,
    Since offloading can filter out the necessary information such as unnecessary columns and rows before they are passed to the database, I want to know what will happen to the data block? Will some new blocks be built at this time,which only contains the useful information?
    Best regards,
    Leon

    Andy Klock wrote:
    The statement seems to imply that Exadata has the ability to strip out columns from a block, but a block is a block is a block. Offloading is remarkable at filtering out data in the storage layer that ultimately is not needed but if you only need one row in a block that has 100 rows in it, you still get the whole block (and all 100 rows) to be processed by Oracle. The columns portion of the statement is when HCC is used for a table allowing only the blocks containing the column data required for the query, and thus if a block has 1000 column values in it, it will pass all 1000 column values to the instance to be processed.These assertions are incorrect.
    Blocks sent to the database grid as a result of a Smart Scan contain only the necessary columns and rows for the db grid to do its processing (after filter restrictions and projection restrictions are applied). These Smart Scan blocks are created at run time by the storage server so they have no bearing on the blocks that reside physically on disk which is why they can not be reused by other queries via the SGA and are read directly into the PGA space.
    Regards,
    Greg Rahn | blog | twitter | linkedin

  • What will happen to " the new iPad " I bought 2 months ego. Now the model is discontinued . What apple will do?....really disappointing.

    What will happen to " the new iPad " I bought 2 months ego. Now the model is discontinued . What apple will do?....really disappointing.

    I just bought two new iPads a few weeks ago. If they're still in the return window they're going back. Maybe it's time to look at some of the Android tablets since all of a sudden Apple thinks the mini is a great idea.

  • What will happen to the data if we delete a disk in ASM

    Friends -
    Question : Under RAC Environment we are using ASM for Storage. I want to know what will happen to the data if we delete a disk?
    Please advise on this.
    Regards
    VSH

    It depends on level of redundancy and disk space left. As long as there's enough space on remaining disks, data would be rebalanced between the disks.
    You can check the ASM operations if you query v$asm_operation:
    select * from v$asm_operation;

  • I have macbook pro 15 inch that i upgraded recently. i have been so frustrated because my internet keeps dropping out constantly. when will apple fix this? and if they don't what will happen to other people that are having wifi problems

    i have macbook pro 15 inch that i upgraded recently. i have been so frustrated because my internet keeps dropping out constantly. when will apple fix this? and if they don't what will happen to other people that are having wifi problems?

    Have a read through one of the many threads already going on this subject
    https://discussions.apple.com/thread/3190651?start=0&tstart=0

  • What will happen to the stuff in my keychain after today? I don't want iCloud. Can I keep the keychain? in my system?

    what will happen to the stuff in my keychain after today? I don't want iCloud. Can I keep the keychain in my system under lion? Can someone please help me?

    Thank you Sig. Well I keep all my passwords in my keychain. I'm concerned I'll lose them after today. I understand that keychain will be obsolete after today. I don't want icloud either, because I don't want all my personal info on a server. I want to keep my personal information in my system. Am I making any sense? Can you make any suggestions or offer any insights around this? 

  • What will happened in the excise while we sent free goods @ samples

    what will happened in the excise while we sent free goods @ samples

    Dear maha,
    What ever the Transactions(Except Exports)..you have to pay the Excise duty and Cess.
    Regards
    Luckky

  • If I take my bank card details off my itunes account and open a new itunes account what will happen to the old account?

    If I take my bank card details off my itunes account and open a new itunes account what will happen to the old account?

    you're more likely to get quick and accurate answers to an iTunes question in the iTunes forum, this is the GarageBand forum

  • What will happen to the thread ?

    Thread t = new Thread(); t.start(); t = null; now what will happen to the created thread?

    Except of course that Thread's run() method is either abstract or does nothing, so that will either not compile, or the thread will end as soon as it starts, at which point I believe the VM will release it and it will become eligible for GC.
    If you had a run() method that actually did something, then it would keep running until it was done, even with your t reference being null, as described in reply 1.

  • HT201441 What will happen to the phone if i cannot get hold of the previous owner

    What will happen to the phone if i cannot get hold of the previous owner??
    Is there any way to find the previous owners email address to contact him/herr??

    It becomes unusable. Makes a nice paper weight.

  • What will happen with the code?

    What will happen with the code below?
    for (i=0; i<=10000; i++)
    Object[] obj = new Object[5];
    In every loop, a new Array of Object wll be created. Will the Array of Object created in the
    current loop( for example, i=2001), eliminate the Array of Object created in previous loop
    (for example, i=2000 or 1999)? How the memory is allocated in every loop?
    Thanks.

    Each time through the loop, an array of five Object references is created. A reference to this array is assigned to the reference variable obj, causing the previously allocated array to be unreachable (except the first time through the loop, if obj was originally null). The garbage collector will collect these unreachable arrays if the memory gets low.

  • What will happen to the apple care of iphone 5

    i quick question, is iphone 5 gone? and what will happen to the iphone 5 apple care with a replaceable warranty?

    Of course AppleCare will still be there. Nothing will change

  • What will happen to the battery if i let my Ipod touch 4th Gen charging for 8 hours?I'm editing and fixing my ITunes in my P.C,and It's two days old.Thank you.

    What will happen to the battery if i let my Ipod touch 4th Gen charging for 8 hours?I'm editing and fixing my ITunes in my P.C,and It's two days old.Thank you.

    Make an appointment at the Genius Bar of an Apple store. If under warranty, as you say (the warranty is transferable) and not abused Apple will exchange it at no cost.
    Apple Retail Store - Genius Bar      

Maybe you are looking for

  • Ipad won't sync all of photo library.

    I have recently bought an iPad 2. I updated it to ios5 and it does not sync my complete iPhoto library. I have ~9000 photos in my library, only about 3000 of which are being transferred to my iPad. There is plenty of space on the iPad 32GB of a 64GB

  • Pavillion G6 Laptop, wont turn on.

    My laptop recently slipped out of my bag and onto the floor. It wasnt a hard hit (as it was in a protective case and not from a high distance) but now won't turn on. When i press the power button, the light comes on along with the orange wireless lig

  • After exporting to Encore, no audio/video transitions

    I used keyframes to create audio/video fade-ins and fade-outs between chapters. It looked perfect in Premiere. I then went to File > Export to Encore. Let it render for 3 hours. Then the resulting m2v/wav combination in Encore doesn't show any eviden

  • Best way to Sync Ratings and Play counts on multiple libraries

    Aware of Homesharing to sync library contents together in itunes 11.  Was wondering if anyone knows how to sync the playcounts, rating, last played information in itunes between multiple libraries

  • Problem after downloading any prog

    i have mobile Nokia 5700 when i setup any prog on it and try to open i see this msg "allow application xxx to read user data" xxx=the name of the prog what can i do? thnxxxxxxx