Forum Replies Created
-
AuthorPosts
-
February 20, 2018 at 18:55 in reply to: Display a calculated column display value in edit form? #19937
Alexander,
We are trying to hide multiple column labels. If, indeed, the first column label was hidden with no problem, hiding the second column label gave us an error. I am including here the coding and the error message:
//format hide columns
jQuery(“#dffs_Request td.ms-formlabel *”).hide();
jQuery(“#dffs_Total_x0020_15 td.ms-formlabel *”).hide();
jQuery(“#dffs_Shipped td.ms-formlabel *”).hide();
jQuery(“#dffs_Request td.ms-formlabel *”).attr(“width”,”500″);jquery(“#dffs_Request_x0020_2 td.ms-formlabel *”).hide();
jQuery(“#dffs_Total_x0020_2 td.ms-formlabel *”).hide();
jQuery(“#dffs_Shipped_x0020_2 td.ms-formlabel *”).hide();
jQuery(“#dffs_Request_x0020_2 td.ms-formlabel *”).attr(“width”,”500″);And this is the ERROR MESSAGE:
DFFS: There is an error in the Custom JS textarea:
*************************************
ReferenceError: jquery is not defined
*************************************
What are we missing here? Since the first column label was hidden, then we assumed that there would be no problems hiding the rest of the column labels. Do you have any other suggestions or solutions?
Your help is very much appreciated!
February 16, 2018 at 21:47 in reply to: Display a calculated column display value in edit form? #19903Yes, I meant hiding the column label!
Thank you again!
February 15, 2018 at 18:08 in reply to: Display a calculated column display value in edit form? #19862Alexander
The below function does not work to save a calculated value between date field and drop down. We did sub the field internal names. Also we would like to do this real time on form and not just on save.
function dffs_PreSaveAction(){
var str = getFieldValue(“DROPDOWN_FIELD_INTERNAL_NAME”);
var date = jQuery(“#dffs_DATE_FIELD_INTERNAL_NAME input:text”).val().replace(/\D/g,””);
setFieldValue(“INVOICENUMBER_FIELD_INTERNAL_NAME”, str + date);
}As for as hiding a field the below did not work when we subed the header name in below. Can you explain more on how to hide a header name on the displayform by a rule? I tried whatyou mentioned in a rule, but that too did not hide the header on the displayform.
#dffsHeading_heading123{
/* add your css here */
}To be specific, we are not looking to hide a heading, we are looking to hide a column name!
Thank you very much
- This reply was modified 6 years, 10 months ago by Myriam Fica.
February 12, 2018 at 19:42 in reply to: Display a calculated column display value in edit form? #19765Alexander,
I forgot to ask this question too:
How do you hide a few headers without hiding ALL the headers in the Display form? We used CSS, but every time we did it, it changed all the headers. There must be a simple way to do it. Any ideas?
Thank you very much!
February 12, 2018 at 17:26 in reply to: Display a calculated column display value in edit form? #19763Alexander,
We want to take the value from a dropdown box and a date selected from date field and calculate an invoice number based on those two fields, so for example:
dropdown concate with date (without – or /, numbers only) and put that value into an invoice textbox on either field change dropdown or date field.
Thank you very much!
February 8, 2018 at 20:09 in reply to: Display a calculated column display value in edit form? #19674Alexander,
Here it is another question for you:
When we use a rule for drop down or datetime field and try to execute a js function in js script area (new form), on field change, we get js errors in the browser console window of “too much recursion”. How do we run a simple getfieldvalue function when a dropdown value is changed or a datetime field is changed without getting the error?
Your help is very much appreciated!
January 26, 2018 at 20:09 in reply to: Display a calculated column display value in edit form? #19507Alexander,
We did upgrade the DFFS Package to v4.4.3.37 and I was finally able to clone the new form into an edit and display form successfully. However, I have some questions for you:
1. How can we rename the columns in the display form configuration?
2. How can we print the edit and display form? When trying to print the forms, we noticed that there was a lot of information missing. Perhaps, you have an answer for us!
Thank you very much!
December 21, 2017 at 21:46 in reply to: Display a calculated column display value in edit form? #19067I checked the “Misc” tab and I see the Export and Import Settings, but not “Browse restore points and deleted configuration”. I am using DFFS v4.4.1.2. Where is the option “Browse retore options and deleted configuration” in this version?
Thank you very much!
December 21, 2017 at 17:24 in reply to: Display a calculated column display value in edit form? #19059Alexander,
Cloning does NOT work!
This is what I did:
I deleted the Edit form. I got a warning, which I accepted. I was returned to the native SharePoint edit form. I scrolled to the bottom of the form, and clicked on the “Enhanced with DFFS” tag to open up the config again. I got a prompt that there is no config for this form — do you want to copy one from another form? I chose the New Form to copy from. I got a message stating that the cloned was successful. However, the configuration was not cloned at all which meant I have to duplicate the new form all over again???? Is there another way of cloning the new form?
Thank you very much!
December 18, 2017 at 21:12 in reply to: Display a calculated column display value in edit form? #19021Alexander,
Is there a way to clone a New Form to an Edit and Display Form. If so, can you tell me how to do it?
Thank you very much!
December 12, 2017 at 22:45 in reply to: Display a calculated column display value in edit form? #18959Alexander,
Have you had a chance to read the last message I sent through this Forum?
Thanks!
November 30, 2017 at 21:01 in reply to: Display a calculated column display value in edit form? #18917I want to send field values to a custom JS so that I don’t have to duplicate the function multiple times. How do I do this?
Example:
I tried javascriptfunctionname(fieldname1, fieldname2) inside the rule “run these functions” textbox, but got an error. I had javascriptfunctionname(total, price) {} function in the custom JS section.Keep in mind we are using New Form!
Your help is very much appreciated!
November 29, 2017 at 19:45 in reply to: Display a calculated column display value in edit form? #18908Alexander,
We are using New Form. It needs to display in New Form. Do we need a any code changes since it is a New Form?Thanks!
November 27, 2017 at 18:44 in reply to: Display a calculated column display value in edit form? #18898Alexander,
This is what I got when I typed the code you mentioned above:
_spPageContextInfo.pageListId
“{462c9de9-9c3e-456a-9da8-f576383107ef}”
spjs.dffs.data.thisItemID
“”
Thanks!November 21, 2017 at 18:37 in reply to: Display a calculated column display value in edit form? #18833Alexander,
Have you had a chance to look at the above code? Can you help? Thank you very much! -
AuthorPosts