Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Field Sequence #6

Open
inaimathi opened this issue Apr 7, 2011 · 1 comment
Open

Field Sequence #6

inaimathi opened this issue Apr 7, 2011 · 1 comment

Comments

@inaimathi
Copy link
Owner

Add a macro (probably called sequence) like

 field count -> [field] (assert (= length [field] count))

That should help reduce boilerplate where the user needs to enter many units of the same field.

@inaimathi
Copy link
Owner Author

This is...

So, for starters, checkbox-set and radio-set exist. Also, textarea, select, multi-select and recaptcha aren't typically present in numbers. That leaves, maybe, text (since I doubt anyone will want a user to confirm a password 17 times). In other words, I can solve this problem by implementing text-set instead of a generic sequence shortcut for define-field.

On the other hand, it wouldn't be terribly difficult, and it wouldn't hurt in any obvious way (since it'll get unfolded at definition time, rather than at view time).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant