That will work too.

On 30-aug-05, at 18:03, F Baube wrote:

On second thought, it occurs to me that Values, used differently,
can solve this, if the templating engine works "as expected".

For example,

    <!--V 'title_widget' -->
          <tr>
        <td[!V 'MARK:title'][!/V]>
          <em> Provide a title </em>
        </td>
          </tr>
          <!--V 'ERRORS:title'/-->
          <tr>
        <td [!V 'MARK:title'/]>
          <!--V 'FORM:INPUT:title'-->size="60"<!--/V-->
        </td>
          </tr>
    <!--/V-->

    if (hideIt) {
        // code that hides it
        template.setValue ("title_widget", "");
    } else {
        // code that leaves it visible, and sets it
        template.setValue ("title", "My Fubar");
    }

Does this look correct ?


thx much

fred

_______________________________________________
Rife-users mailing list
[email protected]
http://www.uwyn.com/mailman/listinfo/rife-users



--
Geert Bevin                       Uwyn bvba
"Use what you need"               Avenue de Scailmont 34
http://www.uwyn.com               7170 Manage
gbevin[remove] at uwyn dot com    Tel +32 64 84 80 03

PGP Fingerprint : 4E21 6399 CD9E A384 6619  719A C8F4 D40D 309F D6A9
Public PGP key  : available at servers pgp.mit.edu, wwwkeys.pgp.net


_______________________________________________
Rife-users mailing list
[email protected]
http://www.uwyn.com/mailman/listinfo/rife-users

Reply via email to