[ic] [button] and mv_form_profile question.

Jeff Dafoe interchange-users@icdevgroup.org
Sat Mar 15 22:11:01 2003


> This is the only IC issue to which I really don't have an answer that I
like,
> > which is how to programatically set a form profile without using any
> > client-side settings.
>
> Think about this. How could you ever do that without checking every
> single page request for it?

    I don't understand the IC code well enough to comment intelligently, but
the "ideal" solution would be to be able to set the mv_form_profile in an
mv_click block.

> You can't programmatically set it, but you can make sure it was run.
>
> [set validated][/set]
> [set validate_check]
> [set validated]1[/set]
> foo=required
> bar=required
> [/set]
>
> [button text="Go"]
> [if scratch validated]
>     [set was_validated]1[/set]
>     mv_nextpage=foo
> [/if]
> [/button]

    I think that solution would work fine, thanks for sharing it.


Jeff