Jump to content

ManonG

Members
  • Posts

    7
  • Joined

  • Last visited

ManonG's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Hello I put the code in place and it's not working.Here's the code I put in the header and the HTML Block. Did I miss anything?<script type="text/javascript">document.addEventListener('DataPageReady', submitHandler);function submitHandler() {let submissionForm = document.querySelector('form[action^="https://c1acf414.caspio.com/dp/676f7000f5c75c00f4aa45c18e6a"]');submissionForm.style.display = 'none';if(document.getElementById('ancor') !== null) {document.removeEventListener('DataPageReady', submitHandler);submissionForm.submit();}document.removeEventListener('DataPageReady', submitHandler);}</script> HTML BLOCK<p id="ancor"></p> Can someone guide me? Thank you
  2. I Chad.

    Are you still using Tinymce  Rich Text editor.  If so, is it complicated to set up?

    Thank you

     

    Manon

     

     

    1. LWSChad

      LWSChad

      I do. I have also tried a Quill, but TinyMCE is my choice. It's pretty straightforward.

      Here is a recent deployment:

      <script src="https://cdn.tiny.cloud/1/your_api_key/tinymce/5/tinymce.min.js" referrerpolicy="origin"></script>
      
      <script>
          tinymce.init({
            selector: 'textarea',
            plugins: 'lists image imagetools table tinymcespellchecker fullscreen insertdatetime hr nonbreaking paste code',
            toolbar: 'fullscreen undo redo paste pastetext formatselect bold italic underline forecolor backcolor image table code',
            menubar: 'edit view insert format tools',
            menu: {
                edit: {title: 'Edit', items: 'undo redo | cut copy paste pastetext | selectall'},
                view: {title: 'View', items: 'visualaid fullscreen | code'},
                insert: {title: 'Insert', items: 'image inserttable | hr nonbreaking | charmap | insertdatetime'},
                format: {title: 'Format', items: 'bold italic underline strikethrough superscript subscript | formats fontformats fontsizes align lineheight | forecolor backcolor | removeformat'},
                tools: {title: 'Tools', items: 'spellchecker spellcheckerlanguage'}
            },
            font_formats: 'Arial=arial,sans-serif; Times New Roman="Times New Roman", georgia, serif',
            block_formats: 'Header 1=h1; Header 2=h2; Header 3=h3; Paragraph=p',
            style_formats: [
                { title: 'Heading 1', format: 'h1' },
                { title: 'Heading 2', format: 'h2' },
                { title: 'Heading 3', format: 'h3' },
                { title: 'Paragraph', format: 'p' },
            ],
            spellchecker_language: 'en_GB'
         });
        </script>

      I just added that code to an HTML block below the textarea to format. If you have more than one textarea on your page, change the selector to something like

      selector: '#EditRecordfield_name',

      Result:
      image.png.5b5fb4ca6e77215af6c6bccb02d6ce38.png

      Sorry about the delay, I didn't get notified of this question

  3. Hello. As I can do to update the <meta property="og:url" content=" et <meta property="og:image" content=" on detail datapage Thank you Manon
  4. Hi Elderberg. Just like you, I've been trying for some time to get the value of a dropdown and copy it into a field. Would you like to send me a copy of your working caspio datapage. Thank you Manon
  5. Hi Elderberg. Where did you put that code so it would work? In the footer? Manon
  6. Hi Vitalikssssss. Thank you for answering my question quickly. However as I don't know Javascript could you make me a simpler example with only 2 fields either : InsertRecordIdIdee_4231fb6d798953 (Dropdown) InsertRecordTitre (Text) Thank you. Thank you. Manon
  7. HI. How can I copy the text from a dropdown field to a text field when user select a dropdown value? Thank you Manon
×
×
  • Create New...