Misc:Text above tabs

Home Forums Classic DFFS Misc:Text above tabs

Tagged: 

Viewing 7 reply threads
  • Author
    Posts
    • #19856
      Phil Grant
      Participant

        Hi,
        I’m trying to add the company Logo and a title above the tabs using the “Show this text above the tabs” section.
        I’m entering some tags and text and it all displays but it is always wrapped in { }.

        How can I stop the braces from appearing?

        Thanks

      • #19870
        Alexander Bautz
        Keymaster

          This is a bug related to how the feature was originally designed – where you were only meant to add a single field. I’ll get if fixed during the weekend.

          Alexander

        • #19872
          Alexander Bautz
          Keymaster

            I forgot to tell that you can fix it now by wrapping your code like this:

            {"default":"YOUR CODE HERE"}

            Alexander

          • #19879
            Phil Grant
            Participant

              Thanks,
              AH! Of course it’s JSON and expects two entries, I suspected there would be a way around it but I’m not that familiar with JSON.

              Thanks again.

            • #19883
              Phil Grant
              Participant

                Oops! that didn’t work, all I get is the same with “default”:” now added to the text.

              • #19890
                Alexander Bautz
                Keymaster

                  When using the JSON format you cannot use quotes without escaping them like this:

                  {"default":"<h1>\"HEADING\" over Form</h1>"}

                  Alexander

                • #19892
                  Phil Grant
                  Participant

                    Great, that sorted it out thanks.

                    • #20474
                      Phil Grant
                      Participant

                        Is it possible to include a fieldInternalName in the test?

                        {"default":"YOUR CODE HERE {Title}"}

                        I have some text and a Logo above the Tabs and want to include the request status of the request in that header.

                        Regards,
                        Phil

                    • #20476
                      Phil Grant
                      Participant

                        Actually I just added it in under the existing text as just text with the fieldInternalName and it worked fine so it’s sorted.

                    Viewing 7 reply threads
                    • You must be logged in to reply to this topic.