You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Need some way of representing multiple inputs and subforms which are repeated. This would handle the use case of asking the user for a list of cars, previous employments, children, etc.
My proposal would be to look something like:
<!-- Mark each input with the same name --><inputtype="text" name="foo" />
<inputtype="text" name="foo" />
...
<inputtype="text" name="foo" />
string[]: foo;// Declare as a string// Form is valid when all foo's are valid
valid: allfoo.valid;// Each foo is valid when it is filledfoo{
valid: thismatches @filled;}
This example only really makes sense for primitive types. We might need to use some kind of custom types (mentioned in #50) to implement actual subforms as a list.
The text was updated successfully, but these errors were encountered:
Need some way of representing multiple inputs and subforms which are repeated. This would handle the use case of asking the user for a list of cars, previous employments, children, etc.
My proposal would be to look something like:
This example only really makes sense for primitive types. We might need to use some kind of custom types (mentioned in #50) to implement actual subforms as a list.
The text was updated successfully, but these errors were encountered: