<?xml version="1.0"?>
<rss version="2.0"><channel><title>General Questions Latest Questions</title><link>https://forums.caspio.com/forum/78-general-questions/</link><description>General Questions Latest Questions</description><language>en</language><item><title>Separating Input Fields for Date/Time Parts - Flex</title><link>https://forums.caspio.com/topic/40552-separating-input-fields-for-datetime-parts-flex/</link><description><![CDATA[<p>
	Hi everyone!
</p>

<p>
	I recently tried to implement the workflow described in this article, but adapted for Flex:<br />
	<a href="https://howto.caspio.com/tech-tips-and-articles/separate-input-fields-for-datetime-parts/" rel="external nofollow">https://howto.caspio.com/tech-tips-and-articles/separate-input-fields-for-datetime-parts/</a>
</p>

<p>
	Below is an updated configuration to account for Flex. Keep in mind that at the table level, the Date/Time data type stores values in MM/DD/YYYY or MM/DD/YYYY HH:MM:SS format only, so the solution must handle the conversion from 12-hour input format to 24-hour output format accordingly.
</p>

<p>
	I have put together two variations — one for 12-hour input format and one for 24-hour input format.<br />
	<br />
	 
</p>

<p>
	12-HOUR INPUT FORMAT
</p>

<p>
	Pre-requisites:
</p>

<p>
	1. On the submission form DataPart, add the following virtual fields:
</p>

<p>
	- Virtual 1 — Date picker: use a Date input Calendar Popup text field form element.<br />
	- Virtual 2 — Hours picker: use a drop-down with values from 01 to 12.<br />
	- Virtual 3 — Minutes picker: use a drop-down with values from 00 to 59. I recommend creating a lookup table for this.<br />
	- Virtual 4 — Seconds picker: use a drop-down with values from 00 to 59. I recommend creating a lookup table for this. If seconds are not required, set it as a hidden field with a default value of 00.<br />
	- Virtual 5 — AM/PM picker: use a drop-down with AM and PM as values.<br />
	- Virtual 6 — Calculated value field that returns the hour in 24-hour format based on Virtual 2 and Virtual 5. Use the following formula:<br />
	<br />
	```<br />
	CASE<br />
	WHEN ([@runtimefield:_Virtual 5]='AM' AND [@runtimefield:_Virtual 2]!='12' ) OR ( [@runtimefield:_Virtual 5] = 'PM' AND [@runtimefield:_Virtual 2] = '12')<br />
	THEN<br />
	CAST([@runtimefield:_Virtual 2] AS INT)<br />
	WHEN [@runtimefield:_Virtual 5]='AM' AND [@runtimefield:_Virtual 2] = '12'<br />
	THEN <br />
	0<br />
	WHEN LEN(ISNULL([@runtimefield:_Virtual 5], ''))&gt;0 AND CAST([@runtimefield:_Virtual 2] AS INT) &lt; 12<br />
	THEN<br />
	CAST([@runtimefield:_Virtual 2] AS INT)+12<br />
	ELSE 0<br />
	END<br />
	```
</p>

<p>
	2. Add the DateTime field as a calculated value using the following formula:
</p>

<p>
	```<br />
	DATEADD(second, CAST([@runtimefield:_Virtual 4] AS INT), DATEADD(minute, CAST([@runtimefield:_Virtual 3] AS INT), DATEADD(hour, CAST([@runtimefield:_Virtual 6] AS INT), CAST([@runtimefield:_Virtual 1] AS DATETIME))))<br />
	```<br />
	<br />
	3. You can hide Virtual 6 and the DateTime field using rules by creating a condition that always evaluates to true. Make sure to check the "Save hidden values" checkbox.<br />
	<br />
	<br />
	<a class="ipsAttachLink ipsAttachLink_image" href="//media.invisioncic.com/r269793/monthly_2026_05/image.png.b67b2d6c6ee1dd76caaa82ccacf4e592.png" data-fileid="9542" data-fileext="png" rel=""><img class="ipsImage ipsImage_thumbnailed" data-fileid="9542" data-ratio="23.30" width="1000" alt="image.thumb.png.0307ee4e7c030a8e323210ebef7e4abd.png" src="https://media.invisioncic.com/r269793/monthly_2026_05/image.thumb.png.0307ee4e7c030a8e323210ebef7e4abd.png" /></a><br />
	<a class="ipsAttachLink ipsAttachLink_image" href="//media.invisioncic.com/r269793/monthly_2026_05/image.png.56d596b9cc86713387dcee4a2f6527e3.png" data-fileid="9543" data-fileext="png" rel=""><img class="ipsImage ipsImage_thumbnailed" data-fileid="9543" data-ratio="63.80" width="1000" alt="image.thumb.png.0d816c702ff39c51b87a7a93ebcec946.png" src="https://media.invisioncic.com/r269793/monthly_2026_05/image.thumb.png.0d816c702ff39c51b87a7a93ebcec946.png" /></a><br />
	<a class="ipsAttachLink ipsAttachLink_image" href="//media.invisioncic.com/r269793/monthly_2026_05/image.png.22b36b56d76e738aacaf25a530fe71c7.png" data-fileid="9544" data-fileext="png" rel=""><img class="ipsImage ipsImage_thumbnailed" data-fileid="9544" data-ratio="62.30" width="1000" alt="image.thumb.png.3d06f9ec4e36814865d0878e047fa3dc.png" src="https://media.invisioncic.com/r269793/monthly_2026_05/image.thumb.png.3d06f9ec4e36814865d0878e047fa3dc.png" /></a><br />
	<a class="ipsAttachLink ipsAttachLink_image" href="//media.invisioncic.com/r269793/monthly_2026_05/image.png.e891cc8ed324a23f02b803c6dfe62b36.png" data-fileid="9545" data-fileext="png" rel=""><img class="ipsImage ipsImage_thumbnailed" data-fileid="9545" data-ratio="74.30" width="1000" alt="image.thumb.png.57c5f5ceb3f15b3516575730e2c2595a.png" src="https://media.invisioncic.com/r269793/monthly_2026_05/image.thumb.png.57c5f5ceb3f15b3516575730e2c2595a.png" /></a><br />
	<a class="ipsAttachLink ipsAttachLink_image" href="//media.invisioncic.com/r269793/monthly_2026_05/image.png.1261b019010ea71a545dbfc9ea5c389a.png" data-fileid="9546" data-fileext="png" rel=""><img class="ipsImage ipsImage_thumbnailed" data-fileid="9546" data-ratio="94.82" width="791" alt="image.thumb.png.f73d5eb994d993b46013323a20bbd833.png" src="https://media.invisioncic.com/r269793/monthly_2026_05/image.thumb.png.f73d5eb994d993b46013323a20bbd833.png" /></a><br />
	 
</p>

<p>
	24-HOUR INPUT FORMAT
</p>

<p>
	The 24-hour format is simpler since no AM/PM conversion is needed.
</p>

<p>
	Pre-requisites:
</p>

<p>
	1. On the submission form DataPart, add the following virtual fields:
</p>

<p>
	- Virtual 1 — Date picker: use a Date input Calendar Popup text field form element.<br />
	- Virtual 2 — Hours picker: use a drop-down with values from 00 to 23.<br />
	- Virtual 3 — Minutes picker: use a drop-down with values from 00 to 59. I recommend creating a lookup table for this.<br />
	- Virtual 4 — Seconds picker: use a drop-down with values from 00 to 59. I recommend creating a lookup table for this. If seconds are not required, set it as a hidden field with a default value of 00.
</p>

<p>
	2. Add the DateTime field as a calculated value using the following formula:
</p>

<p>
	```<br />
	DATEADD(second, CAST([@runtimefield:_Virtual 4] AS INT), DATEADD(minute, CAST([@runtimefield:_Virtual 3] AS INT), DATEADD(hour, CAST([@runtimefield:_Virtual 2] AS INT), CAST([@runtimefield:_Virtual 1] AS DATETIME))))<br />
	```
</p>
]]></description><guid isPermaLink="false">40552</guid><pubDate>Thu, 14 May 2026 11:03:52 +0000</pubDate></item><item><title>Max Attachment Storage in Caspio Flex</title><link>https://forums.caspio.com/topic/40461-max-attachment-storage-in-caspio-flex/</link><description><![CDATA[<p>
	Hello. Does anybody know the maximum file size limit for attachments in Caspio Flex?
</p>
]]></description><guid isPermaLink="false">40461</guid><pubDate>Fri, 30 Jan 2026 02:25:08 +0000</pubDate></item><item><title>Auto-populate Fields When Checkbox is Checked</title><link>https://forums.caspio.com/topic/40530-auto-populate-fields-when-checkbox-is-checked/</link><description><![CDATA[<p>
	Hi,
</p>

<p>
	I'm building my app in Flex, and I want a checkbox that will auto-populate the bill to and ship to portions of my form, but I'm not sure how to go about it.
</p>

<p>
	<a class="ipsAttachLink ipsAttachLink_image" href="//media.invisioncic.com/r269793/monthly_2026_03/image.png.8a1fc73961b686c26fc8d240c0198785.png" data-fileid="9508" data-fileext="png" rel=""><img class="ipsImage ipsImage_thumbnailed" data-fileid="9508" data-ratio="66.50" width="1000" alt="image.thumb.png.89113204031cc6f1da2750b3923efdc6.png" src="https://media.invisioncic.com/r269793/monthly_2026_03/image.thumb.png.89113204031cc6f1da2750b3923efdc6.png" /></a>
</p>
]]></description><guid isPermaLink="false">40530</guid><pubDate>Tue, 31 Mar 2026 22:58:36 +0000</pubDate></item><item><title>Exporting Flex Application</title><link>https://forums.caspio.com/topic/40516-exporting-flex-application/</link><description><![CDATA[<p>
	Hi everyone,
</p>

<p>
	I currently have two separate accounts and I’m trying to move a Flex-based application from one account to the other. The application includes multiple DataParts, tables, and custom configurations that I’d like to replicate as closely as possible.
</p>

<p>
	However, upon checking, it seems that I cannot simply export and import the application the same way I would within Bridge.
</p>

<p>
	Could you help me, please?
</p>
]]></description><guid isPermaLink="false">40516</guid><pubDate>Sat, 21 Mar 2026 10:15:55 +0000</pubDate></item><item><title>Exporting Flex Applications</title><link>https://forums.caspio.com/topic/40501-exporting-flex-applications/</link><description><![CDATA[<p>
	Hi everyone,
</p>

<p>
	I would like to ask if there is a way to export a <strong>Flex application</strong> in Caspio. For example, exporting the full configuration such as DataParts, tables, and settings so it can be backed up or transferred to another account.
</p>

<p>
	Is there currently a feature or recommended approach to export Flex applications?
</p>

<p>
	Any guidance or best practices would be greatly appreciated.
</p>

<p>
	Thank you!
</p>
]]></description><guid isPermaLink="false">40501</guid><pubDate>Wed, 04 Mar 2026 23:16:21 +0000</pubDate></item><item><title>Flex Details/Edit page...  im trying to set up a back link button from a flex app  details page ..  back to the filter search ... results list..  Thanks</title><link>https://forums.caspio.com/topic/40507-flex-detailsedit-page-im-trying-to-set-up-a-back-link-button-from-a-flex-app-details-page-back-to-the-filter-search-results-list-thanks/</link><description><![CDATA[<p>
	im trying to set up a "back link" button from a flex app details edit page ..  needs to redirect me back to the filter results list..  Thanks 
</p>
]]></description><guid isPermaLink="false">40507</guid><pubDate>Mon, 09 Mar 2026 00:41:26 +0000</pubDate></item><item><title>Create Report And Send An Email Using Task</title><link>https://forums.caspio.com/topic/40494-create-report-and-send-an-email-using-task/</link><description><![CDATA[<p>
	Hi everyone, 
</p>

<p>
	I would just like to share this method of mine to get the records from a specific date range using Task. Then, create a simple report about it and send it via email.
</p>

<p>
	Here is my setup for getting the records in between the next 2 weeks.
</p>

<p>
	<a class="ipsAttachLink ipsAttachLink_image" href="//media.invisioncic.com/r269793/monthly_2026_02/image.png.2e61346b226b63ce296c8231fb8455e4.png" data-fileid="9445" data-fileext="png" rel=""><img class="ipsImage ipsImage_thumbnailed" data-fileid="9445" data-ratio="66.00" width="1000" alt="image.thumb.png.6a854a231c31791ec2fb8708eda8fc17.png" src="https://media.invisioncic.com/r269793/monthly_2026_02/image.thumb.png.6a854a231c31791ec2fb8708eda8fc17.png" /></a>
</p>

<p>
	You may directly apply the Add n days to the condition but just to see the setup easier,  I've created the 1st day and 14th day variable blocks.
</p>

<p>
	I hope this can be helpful to some!
</p>
]]></description><guid isPermaLink="false">40494</guid><pubDate>Thu, 26 Feb 2026 19:19:01 +0000</pubDate></item><item><title>Request for Assistance with Automating Page Behavior and Conditional UI Logic</title><link>https://forums.caspio.com/topic/40162-request-for-assistance-with-automating-page-behavior-and-conditional-ui-logic/</link><description><![CDATA[<p>
	Hi Caspio Support,
</p>

<p>
	I’m reaching out for some priority assistance to automate and enhance the behavior of a submission and update form on my app. Below are the specific requirements I’d like help implementing:
</p>

<ol>
	<li>
		<p>
			<strong>Hide the "AssignAsAsset" Checkbox:</strong><br />
			I’d like to have this field hidden from the user interface entirely.
		</p>
	</li>
	<li>
		<p>
			<strong>Custom Button Behavior – "Confirm and Register as an Asset":</strong><br />
			When this button is clicked, I would like the following to happen:
		</p>

		<ul>
			<li>
				<p>
					The hidden field <code>AssignAsAsset</code> should be set to <code>true</code>.
				</p>
			</li>
			<li>
				<p>
					Form submitted so that the record is added, thereafter, the user should be redirected to <strong>HTML Page #1</strong>.
				</p>
			</li>
		</ul>
	</li>
	<li>
		<p>
			<strong>Custom Button Behavior – "Submit":</strong><br />
			When this button is clicked:
		</p>

		<ul>
			<li>
				<p>
					It should submit/save the current form data.
				</p>
			</li>
			<li>
				<p>
					Then redirect the user to <strong>HTML Page #2</strong>.
				</p>
			</li>
		</ul>
	</li>
	<li>
		<p>
			<strong>Update Form Behavior (View-Only Mode):</strong><br />
			On the update version of this form, if the <code>AssignAsAsset</code> value is <code>true</code>, I would like:
		</p>

		<ul>
			<li>
				<p>
					Both action buttons ("Confirm and Register as an Asset" and "Submit") to be hidden.
				</p>
			</li>
			<li>
				<p>
					The page to appear as <strong>view-only</strong>—with a back button to take the user to the previous page.
				</p>
			</li>
		</ul>
	</li>
</ol>

<p>
	Please let me know the best way to implement this, whether via JavaScript, Rules, or a recommended workaround.
</p>

<p>
	Thanks in advance for your guidance and support!
</p>

<p>
	Best regards,<br />
	Mark Mayhrai
</p>

<p><a href="//media.invisioncic.com/r269793/monthly_2025_06/caspio3.png.c9cc2e1665cdc2b450943db30c9ecc2d.png" class="ipsAttachLink ipsAttachLink_image" ><img data-fileid="9087" src="https://media.invisioncic.com/r269793/monthly_2025_06/caspio3.thumb.png.deca06fb7fcb38586e5aaf80099f81a6.png" data-ratio="36.4" width="1000" class="ipsImage ipsImage_thumbnailed" alt="caspio3.png"></a></p>]]></description><guid isPermaLink="false">40162</guid><pubDate>Sun, 08 Jun 2025 00:50:51 +0000</pubDate></item><item><title>Flex Data Pages with JavaScript</title><link>https://forums.caspio.com/topic/40019-flex-data-pages-with-javascript/</link><description><![CDATA[<p>
	Hi, does anyone have some guidelines, to interact with Flex Data Pages.
</p>

<p>
	 
</p>

<p>
	EG: On page load, get the value of  a field to use else where, or set values.
</p>

<p>
	The alert block fires outside of the event listener.
</p>

<p>
	<span style="color:#383838;">&lt;</span><span style="color:#800000;">script</span><span style="color:#000000;"> </span><span style="color:#ff0000;">type</span><span style="color:#383838;">=</span><span style="color:#0000ff;">"text/javascript"</span><span style="color:#383838;">&gt;</span>
</p>

<div style="background-color:#fffffe;color:#000000;font-size:14px;">
	<span style="color:#000000;">    //alert(</span><span style="color:#a31515;">'working'</span><span style="color:#000000;">);</span>

	<div>
		<span style="color:#000000;">document.addEventListener(</span><span style="color:#a31515;">'DataPageReady'</span><span style="color:#000000;">, </span><span style="color:#0000ff;">function</span><span style="color:#000000;"> (event) {</span>
	</div>

	<div>
		<span style="color:#000000;">    //alert(</span><span style="color:#a31515;">'not working'</span><span style="color:#000000;">);</span>
	</div>

	<div>
		<span style="color:#000000;">    </span><span style="color:#008000;">document.getElementByName('InsertRecordAddress').value = 'whatever';</span>
	</div>

	<div>
		<span style="color:#000000;">});</span>
	</div>
	 

	<div>
		<span style="color:#383838;">&lt;/</span><span style="color:#800000;">script</span><span style="color:#383838;">&gt;</span>
	</div>
</div>

<p>
	 
</p>
]]></description><guid isPermaLink="false">40019</guid><pubDate>Thu, 20 Mar 2025 14:53:46 +0000</pubDate></item><item><title>Single-row child table, triggered actions</title><link>https://forums.caspio.com/topic/40377-single-row-child-table-triggered-actions/</link><description><![CDATA[<p>
	Hi,
</p>

<p>
	I have a parent table and a child table, in a one-to-one relationship.  I had hoped to use a details/update form for data entry, however, when blank the fields on the form aren't visible. One workaround was to have a button link to an overlay with a data entry form, however, this causes issues when there is an existing record and the user clicks this button.
</p>

<p>
	1) <strong>What is the best solution here?</strong> This seems like it would be a common problem, so I am probably missing something obvious.
</p>

<p>
	2) <strong>Should I be using a triggered action on the parent table? </strong>E.g: After insert →  Insert a blank/default row into the child table with the new pat_id.
</p>

<p>
	3) <strong>If a triggered action is the best solution, how do I set that up?</strong> I haven't been able to get this working. Where am I going wrong? - see attached. 
</p>

<p>
	Thanks in advance,
</p>

<p>
	Thomas
</p>

<p>
	 
</p>

<p>
	 
</p>

<p>
	 
</p>

<p>
	 
</p>

<p><a href="//media.invisioncic.com/r269793/monthly_2025_11/OptionB.png.726e229b75b294325b5a3298a3168362.png" class="ipsAttachLink ipsAttachLink_image" ><img data-fileid="9309" src="https://media.invisioncic.com/r269793/monthly_2025_11/OptionB.thumb.png.032605c4132f6428557a2203a2b72fb9.png" data-ratio="51.2" width="1000" class="ipsImage ipsImage_thumbnailed" alt="Option B.png"></a></p>]]></description><guid isPermaLink="false">40377</guid><pubDate>Mon, 10 Nov 2025 18:40:13 +0000</pubDate></item><item><title>Duplicate Bridge to Flex</title><link>https://forums.caspio.com/topic/40326-duplicate-bridge-to-flex/</link><description><![CDATA[<p>
	Hello - I have a complex Bridge DataPage that I want to use on my Flex App. Can I duplicate the configuration on the Flex instead of re-creating it?
</p>
]]></description><guid isPermaLink="false">40326</guid><pubDate>Sat, 04 Oct 2025 18:28:44 +0000</pubDate></item><item><title>Flex Framework Javascript</title><link>https://forums.caspio.com/topic/40306-flex-framework-javascript/</link><description><![CDATA[<p>
	Is there any Javascript documentation for Flex, I would like to apply field validations with Regex, I noticed this is simple within Bridge, but somehow Flex is behind it seems.
</p>

<p>
	Further to that, the methods need to execute on load and binded to a control "change" event, would this be possible on Overlay, but standard ContentLoaded etc etc does not even work, even if you add a timer to a overlay, you can retrieve the attribute by id, but binding a chnge event fails.
</p>

<p>
	Anyone else having these issues, it would be great to have some validation on Flex data pages, without reinventing the wheel.
</p>

<p>
	 
</p>

<p>
	EG:
</p>

<p>
	 
</p>

<div style="background-color:#1f1f1f;color:#cccccc;font-size:14px;">
	<div>
		<span style="color:#cccccc;">        </span><span style="color:#9cdcfe;">document</span><span style="color:#cccccc;">.</span><span style="color:#dcdcaa;">addEventListener</span><span style="color:#cccccc;">(</span><span style="color:#ce9178;">"DOMContentLoaded"</span><span style="color:#cccccc;">, () </span><span style="color:#569cd6;">=&gt;</span><span style="color:#cccccc;">{</span>
	</div>

	<div>
		<span style="color:#cccccc;">            </span><span style="color:#9cdcfe;">console</span><span style="color:#cccccc;">.</span><span style="color:#dcdcaa;">log</span><span style="color:#cccccc;">(</span><span style="color:#ce9178;">"Content has loaded"</span><span style="color:#cccccc;">);</span>
	</div>

	<div>
		<span style="color:#cccccc;">            </span><span style="color:#dcdcaa;">SetUpEmailValidation</span><span style="color:#cccccc;">();</span>
	</div>

	<div>
		<span style="color:#cccccc;">            </span><span style="color:#dcdcaa;">SetUpPhoneValidation</span><span style="color:#cccccc;">();</span>
	</div>

	<div>
		<span style="color:#cccccc;">            </span><span style="color:#dcdcaa;">SetUpMobileValidation</span><span style="color:#cccccc;">();</span>
	</div>

	<div>
		<span style="color:#cccccc;">        });</span>
	</div>
</div>
]]></description><guid isPermaLink="false">40306</guid><pubDate>Fri, 26 Sep 2025 10:56:37 +0000</pubDate></item><item><title>Triggered action to send email when field is updated</title><link>https://forums.caspio.com/topic/40066-triggered-action-to-send-email-when-field-is-updated/</link><description><![CDATA[<p>
	<span><span>The trigger is working fine when you change Bore_Status to Bore Complete. The email is being sent correctly. The problem we found is that once the record is saved as bore complete, if they make other changes to the record, it will run the trigger again. We only want the trigger to run once when it is changed to Bore Complete and not every time other fields are updated in the record. I attached the trigger and test record for your review. What options do we have here? Thank You</span></span>
</p>

<p><a href="//media.invisioncic.com/r269793/monthly_2025_04/Trigger.png.4efa5466f09dec5868c42664dbe6ced0.png" class="ipsAttachLink ipsAttachLink_image" ><img data-fileid="8990" src="https://media.invisioncic.com/r269793/monthly_2025_04/Trigger.png.4efa5466f09dec5868c42664dbe6ced0.png" data-ratio="71.59" width="602" class="ipsImage ipsImage_thumbnailed" alt="Trigger.png"></a></p>]]></description><guid isPermaLink="false">40066</guid><pubDate>Mon, 14 Apr 2025 15:10:10 +0000</pubDate></item><item><title>na</title><link>https://forums.caspio.com/topic/40163-na/</link><description><![CDATA[
<p><a href="//media.invisioncic.com/r269793/monthly_2025_06/caspio4.png.f6f8c6d1375d27970144e23fa7f7e94c.png" class="ipsAttachLink ipsAttachLink_image" ><img data-fileid="9088" src="https://media.invisioncic.com/r269793/monthly_2025_06/caspio4.thumb.png.bded481857ad24e748caef0a5d57eb00.png" data-ratio="32.2" width="1000" class="ipsImage ipsImage_thumbnailed" alt="caspio4.png"></a></p>]]></description><guid isPermaLink="false">40163</guid><pubDate>Sun, 08 Jun 2025 01:00:12 +0000</pubDate></item><item><title>Version 63</title><link>https://forums.caspio.com/topic/40263-version-63/</link><description><![CDATA[<p>
	Is anyone experiencing issues with their apps since rollout of 63?  Calculated fields are now resulting in calculation error when no change has been made to the tables or the formula.  Permissions in roles are not operating correctly and now showing data that should not be shown to users.
</p>
]]></description><guid isPermaLink="false">40263</guid><pubDate>Thu, 14 Aug 2025 01:40:41 +0000</pubDate></item></channel></rss>
