I'm wondering what is the best and more elegant way to solve a problem
that I guess we've all faced: there's an input form that has 20+
fields, that on submit needs to go to a "confirmation" page, which
shows the same 20+ fields to the user, so he can review his inputs and
go back or commit them.

The obvious way to do it is to create two .html pages that are almost
the same but one with @Insert fields and the other one with
@TextFields, but I don't want to do that because the number of fields
and the final HTML design will surely change often.

I also don't want to fill my .html with @Conditionals for each field,
there should be a better option. If only there was a component called
@InsertOrTextField that, depending on the value of a, say, "inputMode"
parameter, would display an @Insert, @DatePicker, or a @TextField.

I'm using TP3. Do you think I should try to code my @InsertOrTextField
component or am I not seeing another obvious solution?

Regards,

Dario


--
Times have not become more violent. They have just become more televised.
    Marilyn Manson

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to