Jump to content

IVAN88

Members
  • Posts

    18
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

IVAN88's Achievements

  1. Yes it works perfectly as expected, Thanks @CoopperBackpack
  2. Hi, I am using date function on datapage calculated field, why the sysutcdatetime() function have a match date with my laptop date BUT have a huge different time ? My timestamp field works fine match with my laptop datetime. just error on sql function. Sysdatetime() = 06/26/2024 21:00:14 SysUTCdatetime() = 06/27/2024 04:00:14 Laptop datetime UTC+7, Jakarta Bangkok = 06/27/2024 11:02:14 My apps timezone = Account Default Time Zone: (UTC+07:00) Bangkok, Hanoi, Jakarta
  3. Hi, How can I change the search and header color from Style Setting ? I have set the .cbResultSetHeaderCell and the .cbSearchButton from the style setting but nothing change.
  4. @CoopperBackpack I've tried this but still nothing change. Rgds,
  5. Hi, I have a code, it works on html editor. But if I put it on datapage the active selection not working. Any help ? Regards, <style> ul { list-style-type: none !important; } body { margin: 0; font-family: Arial, sans-serif; } img{ display: block; margin-left: auto; margin-right: auto; width: 50%; } nav { background-color: green; } ul { list-style-type: none; margin: 0; padding: 0; overflow: hidden; } .nav-item { float: left; } .nav-item a { display: block; color: white; text-align: center; padding: 14px 16px; text-decoration: none; } .nav-item.active { background-color: red; } </style> <nav> <ul> <li class="nav-item" id="Create"> <a href="#">Create</a> </li> <li class="nav-item" id="Monitor"> <a href="#">Monitor</a> </li> <li class="nav-item" id="Response"> <a href="#">Response</a> </li> <li class="nav-item" id="MR Menu"> <a href="#">MR Menu</a> </li> <li class="nav-item" id="Logout"> <a href="#">Logout</a> </li> </ul> </nav> <Script> document.addEventListener('DOMContentLoaded', function () { const navItems = document .querySelectorAll('.nav-item'); navItems.forEach(item => { item.addEventListener('click', function () { navItems.forEach(navItem => navItem .classList.remove('active')); this.classList.add('active'); }); }); }); </Script>
  6. Hi Barry and ParkLoey, What I meant, When user input Out Transaction, insert product Name and Quantity, If they input quantity larger than available quantity, they can't submit the record. Rgds,
  7. Hi, I have a table that record In-Out inventory transaction by batch number. My case : On Out transaction I want, user can only select product that still have a remaining quantity, I want to hide a zero quantity product. the remaining quantity will be group by batch number How can I do that ? Rgds,
  8. Thanks @CoopperBackpack it works for my case. I'll insert data from #inserted table Rgds,
  9. Hi, I have a case : If field A on detail page Changed/Edited, I want to create trigger to insert record to other table. But if Field A NOT changed/edited, the trigger idle. How can I know if the field A changed/edited ? Rgds,
  10. Thanks @CoopperBackpack it works as expected
  11. Hi, I have a Calendar datapage, and want to hide 1 column/field by condition. For example : if Room = X then hide Field "Notes" else Show field "Notes" How can I do this ? Rgds,
  12. Thanks a lot @CoopperBackpack it works nicely Rgds,
  13. Hi @CoopperBackpack I've another script, where should I put the list-style-type: none; command on this script below ? <style> /* Style the buttons */ .btn { border: none; outline: none; padding: 10px 16px; background-color: #FF0303; cursor: pointer; font-size: 18px; color: white; } /* Style the active class, and buttons on mouse-over */ .active, .btn:hover { background-color: #000000; color: white; } .btn:hover { background-color: #AEACAC; color: white; } a { color: White; text-decoration: none; } a:hover { color: white; text-decoration: none; } </style> </head> <body> <div id="myDIV"> <button class="btn"><a href="#sadf">Activity </a></button> <button class="btn active"><href="#asd">Project</button> <button class="btn"><href="#asd">Ms.Customer</button> <button class="btn"><href="#asd">Ms.Product</button> <button class="btn"><href="#asd">Calendar</button> <button class="btn"><href="#asd">Logout</button> </div> <script> // Add active class to the current button (highlight it) var header = document.getElementById("myDIV"); var btns = header.getElementsByClassName("btn"); for (var i = 0; i < btns.length; i++) { btns[i].addEventListener("click", function() { var current = document.getElementsByClassName("active"); current[0].className = current[0].className.replace(" active", ""); this.className += " active"; }); } </script> </body> </html>
  14. Hi, How can I make my navigation have a different color for current selection ? Here is my script : <style> ul.menu-list{ margin:0; padding: 0; list-style-type: none; overflow: hidden; background-color: #63F28E; } li { float: left; } ul li { font: 120% "Arial", Arial, Helvetica, sans-serif; margin: 0; padding: 0; } li a { background: #63F28E; /*BOX COLOR IJO*/ #border-bottom: 1px solid #000000; color: #FA0616; /*TEXT COLOR MERAH*/ display: block; #margin: 0; padding: 15px 12px; /*HEIGHT BOX*/ text-decoration: none; } ul a:hover { background: #68E4E4; /*Hovered BOX Color BIRU*/ color: #fff; /*Hovered TEXT Color PUTIH*/ text-shadow:#ffffff 0px 0px 5px; /*Text Glow*/ padding-bottom: 15px; /*HEIGHT HOVER BOX*/ } </style> <ul class="menu-list"> <li><a class="active" href="#home">Home</a></li> <li><a href="#news">News</a></li> <li><a href="#contact">Contact</a></li> <li><a href="#about">About</a></li> </ul>
  15. Thanks @CoopperBackpack it works
×
×
  • Create New...