Jump to content


Caspio Rockstar
  • Posts

  • Joined

  • Last visited

  • Days Won


Community Answers

  1. LWSChad's post in It Is Possible To Make A Calculation Whit Javascrip In A Tabular Report Header . was marked as the answer   
    When you load a script into the header, is runs before the data loads. So if your script does anything with the data that loads, it must be in the footer.
    If you want something to appear in the header, you could create an Element in the Header and use JS from the footer to populate that element.
  2. LWSChad's post in Hide A Submitbutton In The Header. was marked as the answer   
    It looks like you have an extra closed bracket, but also try...
     1. Drop dropping in some alerts throughout to see where it's breaking.
     2. I recommend style.display = 'none' over style.visibility = 'hidden'
    <SCRIPT LANGUAGE="JavaScript">
    alert('Hi - test1');
    var eigenaar='[@s_id]';
    var aanmaker='[@authfield:user_tabel_user_id]';
    if (eigenaar!=aanmaker)
    alert('Not equal!');
      document.getElementById("Voeg_toe").style.visibility = 'hidden';
    alert('Visibility set to hidden. Is it hidden?');
  3. LWSChad's post in Rich Text Field - Spell Check was marked as the answer   
    I decided to use TinyMCE again
    TinyMCE - https://www.tinymce.com/
    Using TinyMCE,,,
    Browser Spellcheck works
    Rich Text editing on Android works
    Cut Copy Paste is more powerful
    Check it out if you need a fully functional Rich Text editor
    It's Awesome
    //load tinyMCE tinymce.init({ selector:'textarea#InsertRecordEmailBody', statusbar: false, plugins: "autolink charmap code textcolor contextmenu emoticons fullscreen hr image imagetools link nonbreaking paste spellchecker", toolbar: [ 'fullscreen | undo redo | cut copy paste | alignleft aligncenter alignjustify alignright', 'bold italic underline superscript subscript | forecolor backcolor | fontselect fontsizeselect', 'image link | charmap emoticons | hr nonbreaking | removeformat | code'], menubar: "", contextmenu: "cut copy paste | image link | bold italic underline | hr nonbreaking | spellchecker", default_link_target: "_blank", browser_spellcheck: true, font_formats: 'Arial=arial,helvetica,sans-serif;'+ 'Arial Black=arial black,avant garde;'+ 'Comic Sans MS=comic sans ms,sans-serif;'+ 'Courier New=courier new,courier;'+ 'Georgia=georgia,palatino;'+ 'Impact=impact,chicago;'+ 'Tahoma=tahoma,arial,helvetica,sans-serif;'+ 'Times New Roman=times new roman,times;'+ 'Trebuchet MS=trebuchet ms,geneva;'+ 'Ubuntu=Ubuntu,verdana,sans-serif;'+ 'Verdana=verdana,geneva;' }); -CHAD
  4. LWSChad's post in Weird Span Tag In Radio Button was marked as the answer   
    Per Jan:
    <script> document.getElementsByName("dataSourceField")[0].parentNode.style.fontSize="0"; </script>
  5. LWSChad's post in Friendly Link For Files was marked as the answer   
    Thanks for getting me started down the right direction.
    Below is a complete path with Caspio Parameters.
  6. LWSChad's post in Datetime Display - Date Only Or Date And Time was marked as the answer   
    Here is the best answer.
    Calculated Field 1
    Replace([@dateField],' 12:00AM','') and
    <html>[@calcfield:1]</html> What a cool parameter ->   @calcfield
  7. LWSChad's post in Dropdown List Pulled From Large Table was marked as the answer   
    Use an AutoComplete and use the table that hold the airports as the lookup.
    When users type "Chi" a list will show:
    Chihauhua International
    Chihauhua Field
    Chimalhuacan Municipal
    Chicoloapan de Juarez Field
    As the user types more the list will become smaller
  8. LWSChad's post in Format A Phone Number was marked as the answer   
    I figured it out.
    It needs to be the only DataPage on the WebPage.
  • Create New...