Myriam Fica

Forum Replies Created

Viewing 15 posts - 1 through 15 (of 17 total)
  • Author
    Posts
  • in reply to: Display a calculated column display value in edit form? #19937
    Myriam Fica
    Participant

    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!

    in reply to: Display a calculated column display value in edit form? #19903
    Myriam Fica
    Participant

    Yes, I meant hiding the column label!

    Thank you again!

    in reply to: Display a calculated column display value in edit form? #19862
    Myriam Fica
    Participant

    Alexander

    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, 2 months ago by Myriam Fica.
    in reply to: Display a calculated column display value in edit form? #19765
    Myriam Fica
    Participant

    Alexander,

    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!

    in reply to: Display a calculated column display value in edit form? #19763
    Myriam Fica
    Participant

    Alexander,

    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!

    in reply to: Display a calculated column display value in edit form? #19674
    Myriam Fica
    Participant

    Alexander,

    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!

    in reply to: Display a calculated column display value in edit form? #19507
    Myriam Fica
    Participant

    Alexander,

    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!

    in reply to: Display a calculated column display value in edit form? #19067
    Myriam Fica
    Participant

    I 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!

    in reply to: Display a calculated column display value in edit form? #19059
    Myriam Fica
    Participant

    Alexander,

    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!

    in reply to: Display a calculated column display value in edit form? #19021
    Myriam Fica
    Participant

    Alexander,

    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!

    in reply to: Display a calculated column display value in edit form? #18959
    Myriam Fica
    Participant

    Alexander,

    Have you had a chance to read the last message I sent through this Forum?

    Thanks!

    in reply to: Display a calculated column display value in edit form? #18917
    Myriam Fica
    Participant

    I 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!

    in reply to: Display a calculated column display value in edit form? #18908
    Myriam Fica
    Participant

    Alexander,
    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!

    in reply to: Display a calculated column display value in edit form? #18898
    Myriam Fica
    Participant

    Alexander,

    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!

    in reply to: Display a calculated column display value in edit form? #18833
    Myriam Fica
    Participant

    Alexander,
    Have you had a chance to look at the above code? Can you help? Thank you very much!

Viewing 15 posts - 1 through 15 (of 17 total)