<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Common Snippets on MoleLab</title><link>https://molelab.dev/en/work/common-snippets/</link><description>Recent content in Common Snippets on MoleLab</description><generator>Hugo -- gohugo.io</generator><language>en-US</language><copyright>© 2026 molefool</copyright><lastBuildDate>Fri, 03 Jul 2026 00:00:00 +0800</lastBuildDate><atom:link href="https://molelab.dev/en/work/common-snippets/index.xml" rel="self" type="application/rss+xml"/><item><title>E9 Code Block: Validate Through an Interface Before Submit</title><link>https://molelab.dev/en/work/common-snippets/e9-submit-guard-interface-validation/</link><pubDate>Fri, 03 Jul 2026 00:00:00 +0800</pubDate><guid>https://molelab.dev/en/work/common-snippets/e9-submit-guard-interface-validation/</guid><description>The core E9 submit-guard pattern: start from the submit event, call an interface asynchronously, require a stable successful response, and decide from responsebody.</description></item><item><title>Main Field Formula: Count Detail Rows Matching a Condition</title><link>https://molelab.dev/en/work/common-snippets/main-field-count-detail-rows/</link><pubDate>Thu, 25 Jun 2026 00:00:00 +0800</pubDate><guid>https://molelab.dev/en/work/common-snippets/main-field-count-detail-rows/</guid><description>Uses CALDTROW to count detail-table rows that match a condition into a main-table field; the condition must use a double equals operator, and mistakes may not throw errors.</description></item><item><title>Field Linkage: Write Select Display Text to a Text Field</title><link>https://molelab.dev/en/work/common-snippets/field-linkage-select-to-text/</link><pubDate>Tue, 23 Jun 2026 00:00:00 +0800</pubDate><guid>https://molelab.dev/en/work/common-snippets/field-linkage-select-to-text/</guid><description>Two implementations for the same requirement: field-linkage SQL and code-block JavaScript.</description></item></channel></rss>