![](http://content.invisioncic.com/r269793/set_resources_11/84c1e40ea0e759e3f1505eb1788ddf3c_pattern.png)
Alison
Caspio Guru-
Posts
137 -
Joined
-
Last visited
-
Days Won
12
Alison last won the day on April 10
Alison had the most liked content!
Recent Profile Visitors
The recent visitors block is disabled and is not being shown to other users.
Alison's Achievements
-
ParkLoey reacted to an answer to a question: Icon inside input field
-
KG360 reacted to a post in a topic: Conditional Styling to hide Submit Button
-
Conditional Styling to hide Submit Button
Alison replied to Scott17's topic in User JavaScript and CSS Discussions
You may use the following script in the Footer to hide the button with its container when one of the Virtual fields shows the value "Not correct" <script> document.addEventListener("DataPageReady", function() { let Virt1 = document.querySelector("input[id^=cbParamVirtual1]"); let Virt2 = document.querySelector("input[id^=cbParamVirtual2]"); let btnSubmitContainer = document.querySelector(".cbSubmitButtonContainer"); btnSubmitContainer.style.display = 'none'; function checkValidity() { if (Virt1.value == 'Not correct' || Virt2.value == 'Not correct') { btnSubmitContainer.style.display = 'none'; } else { btnSubmitContainer.style.display = 'inline'; } } Virt1.onchange = checkValidity; Virt2.onchange = checkValidity; // Initial check checkValidity(); }); </script> -
Alison reacted to a post in a topic: Hide fields conditionally on the Submission from
-
Alison reacted to a post in a topic: 123,456.00 Number format on sumbmission form
-
Hide fields conditionally on the Submission from
Alison replied to Alison's topic in User JavaScript and CSS Discussions
Hi @ParkLoey, thank you for the suggestion, however, it will show either first, or second, or third inputs. However, what I want is to show one input, then 2 inputs, 3 inputs and so on. I suppose it can be done with the customn JS using Switch case, but I cannot come up with the solution. -
Alison started following Seriously? Why..... , Page redirecting to another page inside the embedded frame , Hide fields conditionally on the Submission from and 3 others
-
Page redirecting to another page inside the embedded frame
Alison replied to Berean's question in Deployment
If you have a DataPage inside another DataPAge deployed as iFrame, and if you want the parent DP to be redirected to another URL, you should use the following code: <script> document.querySelector("iframe").addEventListener('load', function(e) { let iFrameButton = document.querySelector("iframe").contentWindow.document.querySelector("input[id^='Submit']"); function f_redirect() { window.top.location.href = "https://www.caspio.com/"; } iFrameButton.onclick = f_redirect; }); </script> -
Alison reacted to a post in a topic: Hide fields conditionally on the Submission from
-
Hi, I am trying to create a workflow where the fields are shown or hidden by the selection in the dropdown. I have tried using Rules, however, they are limited in reusing fields in Action. Can someone point me to the right direction on how to achieve this? For example, I have a dropdown with the Number of children, it can be 1, 2, 3, 4 and 5. And I want to show input fields below based on that selection in the dropdown. So, if I choose 1 in the dropdown, only first input is shown. If I choose 2, the first and the second inputs are shown and so on.
-
GrumpyRick reacted to a post in a topic: Java Script to Hide the Update Button
-
Expand Autocomplete Dropdown To More Than 10
Alison replied to davidhshugar's question in General Questions
Hi, I have contacted Caspio support, and they told me that it is not possible to change the number of values in the autocomplete, however, they shared the post on the idea box where you can vote for this feature: https://caspio.uservoice.com/forums/164206-caspio-bridge/suggestions/6732346-it-would-help-if-we-could-determine-the-amount-of https://caspio.uservoice.com/forums/164206-caspio-bridge/suggestions/17981896-can-autocomplete-be-modified-by-user-or-system-to -
kpcollier reacted to an answer to a question: Cross site tracking
-
Hi. If you are experiencing issues rendering applications due to Cross Site Tracking, please refer to the recommended system requirements: https://howto.caspio.com/system-requirements/. As always you can contact Caspio Support https://www.caspio.com/support/ for questions or concerns.
-
KG360 reacted to a post in a topic: Hide a submit button based on the value in the list string
-
Hi all, Feel free to use the following solution: 1. Create an HTML datapage, go to the Source mode, deploy other datapages there using an iframe deployment method, and add the code for the PDF link: <a href="[@cbprotocol][@cbbridgeservername]/PDFGen.aspx?AppKeys=DPAppKey1,DPAppKey2" target="_blank"><img src="[@cbprotocol]static.caspio.com/bridge/images/PDF_print.png" alt="Download as PDF" border="0"/></a>2. Replace “DPAppKey1” with the AppKey of the DataPage 13. Replace “DPAppKey2” with the Appkey of the DataPage 24. You can also choose to display a different PDF icon by replacing the default icon URL “[@cbprotocol]static.caspio.com/bridge/images/PDF_print.png” with your own icon URL
-
Hi all, I was testing and this code works for me: <style> #caspioform > div { margin: 0 auto; } </style> You may follow this Caspio Labs video for reference:
-
Kurumi reacted to a post in a topic: Java Script to Hide the Update Button
-
GoodBoy reacted to an answer to a question: Seriously? Why.....
-
kpcollier reacted to an answer to a question: Seriously? Why.....
-
Hello @sfraden, @kpcollier Thank you for providing valuable feedback. We apologize for the inconvenience caused due to the placement of the chat bubble. Our team is working on a solution to address the concern and we understand that chat function is very beneficial to users to conveniently reach out to Caspio Support team for assistance with inquiries. In Release 30, Caspio user interface has been refreshed to improve the navigation and usability. We value your feedback and are committed to continually improving our product.
-
kpcollier reacted to a post in a topic: Add a checkbox "Remember me"
-
Java Script to Hide the Update Button
Alison replied to braxwell's topic in User JavaScript and CSS Discussions
Feel free to use the following code to remove the button container on the Details page: <script > document.addEventListener("DataPageReady", function() { buttonCont = document.querySelector('div[class^="cbBackButtonContainer "]'); buttonCont.remove(); }); </script> -
Joemac reacted to an answer to a question: "Enable sticky header row" option disabled
-
Hi @Ioannis, You may request this application to be uploaded into your account and check the code how it was created. Also, you may follow this article for anothere approach: https://howto.caspio.com/tech-tips-and-articles/common-customizations/how-to-create-date-specific-new-record-links-in-calendar-datapages/
-
Which fields are 'data fields'?
Alison replied to TeamVilla's question in Tables, Views and Relationships
Hi @TeamVilla, There are different data types in tables. Refer this article for the details: https://howto.caspio.com/tables-and-views/data-types/ Logos can b e added as pictures to the File data type or it can be added as a full link in the File type or in the Text255. More details can be found here: https://howto.caspio.com/tech-tips-and-articles/common-customizations/tech-tip-5-ways-to-customize-the-look-of-your-datapages/- 3 replies
-
- data field
- naming
-
(and 4 more)
Tagged with:
-
Search form same page: HOLD search criteria after hitting Search
Alison replied to thanhtruong's question in General Questions
-
I have found out that to make it work whrn Responsive is enabled, the "td" should be changed to "div" when defining the button variable. Please use the following code below: <script type="text/javascript"> document.addEventListener('DataPageReady', function () { let elem = document.querySelector('input[id^="InsertRecordListStr_Field"]'); let button = document.querySelector('div[class^="cbSubmitButtonContainer"]'); elem.addEventListener('change', function() { let elemValue = elem.value.split(','); if(elemValue.includes('1')) { button.style.display = "none"; } else { button.style.display = ""; } }); }); </script>
-
Hi @nehasingh, I suggest that you follow getting started videos to know more about Caspio: https://howto.caspio.com/getting-started-videos/