Search the Community
Showing results for tags 'default'.
-
I want to set the default search value for one of my Tabular reports to be today's date + 7 days. When I set the default value today, I usually tell it to receive [@cbTimestamp*] on load but I don't see how I would make it today + 7 days. Any ideas?
- 1 reply
-
- default
- search and report
-
(and 2 more)
Tagged with:
-
I have a search and report for current projects. Some of these projects are on hold and so I want to create a field in the search to display all projects when checked but when not checked just show projects that are not on hold (field should say "Include jobs on hold?" and be unchecked by default). I'm at a loss for how to do this. In my table, the value for "On Hold" is just a checkbox, where checked is true and unchecked is false. I'm open to any ideas for how to do this, even if it requires shuffling things around. Thanks!
- 2 replies
-
- checkbox
- search and report
-
(and 1 more)
Tagged with:
-
I have a cascading dropdown that works fine, except I would like the default selection to be based on the user authentication data. Can this be done?
- 2 replies
-
- cascading dropdown
- user authentication
-
(and 1 more)
Tagged with:
-
I have a submission form where I have sections that are hidden based on the input of the user (if the user input is not as desired, an error message is displayed by unhiding a section). Users should not be able to submit the form when any section is showing, for this i intent to use event.preventDefault(). How can I do this in javascript? Any suggestion are welcome.
-
I am having trouble with a submission form getting a total amount. I can get the javascript to work if I enter values in standard fields. It works fine if I use custom values in a dropdown. Where the code does not work is when I use a cascading dropdown. The form is an internal billing request form. There is a price field which is based on the product selected in a previous form. When the select the product, the price goes into the cascading dropdown and fills in the form properly. After price is a field for additional charges and following that a field for discount. I have the following javascript in the footer of the submission form. <SCRIPT LANGUAGE="JavaScript"> function summation() { var Cost = document.getElementById("InsertRecordPrice").value; var Additional_Charge = document.getElementById("InsertRecordAdditional").value; var Disc = document.getElementById("InsertRecordDiscount").value; var Total_Invoice = parseFloat(Cost) + parseFloat(Additional_Charge) + parseFloat(Disc); document.getElementById("InsertRecordTotal").value = Total_Invoice; } document.getElementById("caspioform").onsubmit=summation; </SCRIPT> There's obviously something I'm not getting about the difference between entering a value and using a cascading dropdown. Technically, it doesn't even need to be a cascading dropdown if there is another way to get a default value from a table. If anyone can see where my error is, please let me know. I even created a stand alone form with only the 5 necessary fields just for experimentation and I'm stumped. Thanks in advance.
- 2 replies
-
- total
- submission
-
(and 3 more)
Tagged with: