Skip to main content

Search

Rich Forms 3.1.0.0 - Display Form not working

Answered

Comments

9 comments

  • Rosario Matos

    Good afternoon,

    Dear Sandra Huntley

    Thank you for contact skybow Team.

    Regarding your first question, we are investigating. As soon as we have this information we will inform you.

    About the second question, we would like to have more details, can you please describe where you use this code, what forms and what common logic? And where you use this forms?

    Thank you very much for your understanding

    Best Regards

    Rosario Matos

    0
  • Rosario Matos

    Good morning,

    Dear Sandra Huntley,

    As previously mentioned and about the first question, such issue is possible when form has taxonomy field on it.

    Workaround:
    1. Open FormsStoreLibrary and find/douwnload ArdeviaRichFormsLoader.js
    2. Put this code at the end of script:

    ;if(!window.ArdeviaLoadFilesReplaced){
     var oldLoadFiles = Ardevia.RichFormsLoader.prototype.LoadFiles;
     Ardevia.RichFormsLoader.prototype.LoadFiles = function (a, callback) {
      oldLoadFiles.call(this,a, function (){
       if(Ardevia.RichForms.FormDisplay){
        var oldEval = Ardevia.RichForms.FormDisplay.prototype.EvalExpressionsFirstTime;
        Ardevia.RichForms.FormDisplay.prototype.EvalExpressionsFirstTime = function(){
         this.taxonomyValuesInvoked = true;
         oldEval.call(this);
        }
       }
       callback();
      }
     )};
     window.ArdeviaLoadFilesReplaced = true;
    }

    3. Save it and replace this script in FormsStoreLibrary

     

    Tell us if it works?

    Thank you

    Best Regards

    Rosario Matos

    0
  • Sandra Huntley

    Hi Rosario,

     

    The following code is used on a sub-list column when I go to format a currency column, the user enters in a value ie 111.22 and I reformat it to $111.22 in a calculated expression as follows:

     

    var transAmt = ([[@SubListCurrentRow.Petty_Cash_Voucher_Details.GST_x0020_Inclusive_x0020_Amount]]*1).toFixed(2);
    if (transAmt>0) { var currencyInc = "$" + transAmt;return currencyInc; }

     

    All the column does is flicker and not reformat.

     

    Any help you can offer would be appreciated.

     

    Thanks

    Sandy

    0
  • Raoul Dobal

    Stumbled over the same problem - where on a sharepoint on premis installation would I find the ardeviaRichFormsLoader.js?

    0
  • Andreas Meier

    Hy Raoul

     

    You can find the js file in /FormsStoreLibrary/Scripts/.

     

    Best Regards

    Andreas Meier

    0
  • Raoul Dobal

    Sorry, I am very likely still in the wrong place – with a pretty powerful account I am looking at my directories in the site collection as well as in the site – still can’t see it.

     

     

     

    Raoul

    0
  • Andreas Meier

    Hy Raoul

     

    /FormsStoreLibrary is a hidden library, you will not find it somewhere on the UI of SharePoint.

    Navigate to your site where RichForms is installed and then enter in the url /FormsStoreLibrary/

    e.g.
    https://my.sharepoint.com/sites/mysite/FormsStoreLibrary

     

    This should navigate you to the library where you see the script folder.

     

    Kind Regards

    Andreas

    0
  • Rosario Matos

    Good morning Sandra Huntley,

    Regarding the above question, was this issue overcome?

    Thank you

    Have a nice day.

    Rosario Matos

    0
  • Sandra Huntley

    Hi Rosario,

     

    Yes this issue is now sorted, I was just waiting until the invalid license issue was resolved before confirming to you.

     

    Thanks for all your assistance, your team provides amazing support.

     

    Kind Regards

    Sandy Huntley

    0

Please sign in to leave a comment.