You are not logged in. Your edit will be placed in a queue until it is peer reviewed.
We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.
-
so the script would look like this??? <script src="//code.jquery.com/jquery-1.10.1.min.js"></script> <style type="text/css"> .ms-formtable {display:none;} </style><script type="text/javascript"> $(document).OnPostRender(function() { $("span.hillbillyForm").each(function() { displayName = $(this).attr("data-displayName"); elem = $(this); $("table.ms-formtable td").each(function(){ if (this.innerHTML.indexOf('FieldName="'+displayName+'"') != -1){ $(this).contents().appendTo(elem); } }); }); }); </script>Matt Ludwig– Matt Ludwig2015-02-10 21:18:01 +00:00Commented Feb 10, 2015 at 21:18
-
Actually, no. You should look deeper at how you should use CSR in SharePoint 2013, here is more examples code.msdn.microsoft.com/office/… . I would also recommend not to use Content Editor Web Part but to use JSLink for new form web part zimmergren.net/technical/… These links should help you if you are new to CSR in SharePointECM4D– ECM4D2015-02-10 21:23:36 +00:00Commented Feb 10, 2015 at 21:23
-
I cant find jslink, im not sure why my original code is not working, I tried it on other SharePoint sites and it works fine, but with this site it isn't working.Matt Ludwig– Matt Ludwig2015-02-10 21:31:39 +00:00Commented Feb 10, 2015 at 21:31
-
If you do not want to use CSR, you could try to turn off CSR and use server side rendering for the web part. Go to the web part settings and switch to Server side rendering. Go to the new form web part settings and choose "Server render" social.msdn.microsoft.com/Forums/getfile/268013ECM4D– ECM4D2015-02-10 21:38:30 +00:00Commented Feb 10, 2015 at 21:38
-
I don't see that option to turn off csr tinypic.com/r/291mb1j/8Matt Ludwig– Matt Ludwig2015-02-10 21:42:47 +00:00Commented Feb 10, 2015 at 21:42
|
Show 7 more comments
How to Edit
- Correct minor typos or mistakes
- Clarify meaning without changing it
- Add related resources or links
- Always respect the author’s intent
- Don’t use edits to reply to the author
How to Format
-
create code fences with backticks ` or tildes ~
```
like so
``` -
add language identifier to highlight code
```python
def function(foo):
print(foo)
``` - put returns between paragraphs
- for linebreak add 2 spaces at end
- _italic_ or **bold**
- indent code by 4 spaces
- backtick escapes
`like _so_` - quote by placing > at start of line
- to make links (use https whenever possible)
<https://example.com>[example](https://example.com)<a href="https://example.com">example</a>
How to Tag
A tag is a keyword or label that categorizes your question with other, similar questions. Choose one or more (up to 5) tags that will help answerers to find and interpret your question.
- complete the sentence: my question is about...
- use tags that describe things or concepts that are essential, not incidental to your question
- favor using existing popular tags
- read the descriptions that appear below the tag
If your question is primarily about a topic for which you can't find a tag:
- combine multiple words into single-words with hyphens (e.g. sharepoint-online), up to a maximum of 35 characters
- creating new tags is a privilege; if you can't yet create a tag you need, then post this question without it, then ask the community to create it for you
default