SmarkForm provides an intuitive keyboard-driven interface that lets users fill data fluently without switching between keyboard and mouse.
Enter / Shift+Enter Navigation
Press Enter to move forward to the next field, and Shift+Enter to move backward. This is more convenient than Tab and Shift+Tab β it skips controls that would otherwise interrupt the data-entry flow, providing a more fluid experience.
Press Enter in any text field to move to the next one. Shift+Enter goes backward. In the textarea, use Ctrl+Enter to advance (plain Enter` inserts a new line).
Every example in this section comes with many of the following tabs:
HTML: HTML source code of the example.
CSS: CSS applied (if any).
JS: JavaScript source code of the example.
Preview: Live, sandboxed rendering of the example β fully isolated from the page styles.
Notes: Additional notes and insights for better understanding. Don't miss itβΌοΈ
π οΈ Between the tab labels and the content there is always an edit toolbar:
βοΈ Edit β activates edit mode: each source tab turns into a syntax-highlighted code editor (powered by Ace) pre-filled with the full, merged source. Changes are sandboxed β the original example is not affected.
π Include playground editor β (only visible in edit mode) controls whether the JSON playground editor is included in the preview. When toggled, the HTML and JS editors update instantly so you can see exactly what code is needed to add or remove it. Disabled for this example.
βΆοΈ Run β (only visible in edit mode) re-renders the Preview from the current editor contents and switches to the Preview tab.
In textareas, use Ctrl+Enter instead. Plain Enter inserts a new line in the text.
Tab-Flow Exclusion for Hotkey-Equipped Buttons
Buttons that have a hotkey defined are automatically taken out of the Tab navigation flow. This prevents having to tab through dozens of inner-list action buttons (e.g. β remove buttons) when filling a long list.
Inner buttons (inside list items): Removed from Tab flow β users can activate them via their hotkey instead.
Outer buttons (siblings of the list): Kept in Tab flow β with min_items: 0, the only way to create the first item is via the outer add button, which must remain keyboard-accessible.
Press Tab through the form β the outer β Add/π§Ή buttons are reachable, but the inner β/β buttons inside each list item are skipped. Hold Ctrl to reveal their hotkey shortcuts instead.
Every example in this section comes with many of the following tabs:
HTML: HTML source code of the example.
CSS: CSS applied (if any).
JS: JavaScript source code of the example.
Preview: Live, sandboxed rendering of the example β fully isolated from the page styles.
Notes: Additional notes and insights for better understanding. Don't miss itβΌοΈ
π οΈ Between the tab labels and the content there is always an edit toolbar:
βοΈ Edit β activates edit mode: each source tab turns into a syntax-highlighted code editor (powered by Ace) pre-filled with the full, merged source. Changes are sandboxed β the original example is not affected.
π Include playground editor β (only visible in edit mode) controls whether the JSON playground editor is included in the preview. When toggled, the HTML and JS editors update instantly so you can see exactly what code is needed to add or remove it. Disabled for this example.
βΆοΈ Run β (only visible in edit mode) re-renders the Preview from the current editor contents and switches to the Preview tab.
Hold Ctrl to discover available hotkeys β each trigger button with a hotkey shows a tooltip revealing its keyboard shortcut.
Alt+Enter for Collapsed Sections
When navigating with Enter / Shift+Enter, fields inside a closed <details> element are skipped. To navigate into them, hold Alt while pressing Enter β SmarkForm automatically opens any closed <details> ancestors along the path.
This allows you to keep optional sections collapsed by default while still being able to arrow-key into them when you need to fill data.
Press Enter from the Email field β navigation jumps over the collapsed Billing Address section. Hold Alt+Enter instead, and SmarkForm opens the <details> before moving focus into its first field.
Every example in this section comes with many of the following tabs:
HTML: HTML source code of the example.
CSS: CSS applied (if any).
JS: JavaScript source code of the example.
Preview: Live, sandboxed rendering of the example β fully isolated from the page styles.
Notes: Additional notes and insights for better understanding. Don't miss itβΌοΈ
π οΈ Between the tab labels and the content there is always an edit toolbar:
βοΈ Edit β activates edit mode: each source tab turns into a syntax-highlighted code editor (powered by Ace) pre-filled with the full, merged source. Changes are sandboxed β the original example is not affected.
π Include playground editor β (only visible in edit mode) controls whether the JSON playground editor is included in the preview. When toggled, the HTML and JS editors update instantly so you can see exactly what code is needed to add or remove it. Disabled for this example.
βΆοΈ Run β (only visible in edit mode) re-renders the Preview from the current editor contents and switches to the Preview tab.