TinyButStrong - the PHP Template Engine
Categories > TinyButStrong general >

magnets...

The forum is closed. Please use Stack Overflow for submitting new questions. Use tags: tinybutstrong , opentbs

By: lauren
Date: 2015-03-24
Time: 11:38

magnets...

hi guys

so if i have the following:
<div class="checkbox" [onshow.somelongstringvalue;magnet=div;noerr]>.......</div>

i did not expect the magnet expression to actually be on the page - i thought it was just used as a check for the magnet - it is actually there on the page (view source to see it of course) and this makes magnets not so useful as i thought if i'm right

am i missing something? i do not want the magnet test value (somelongstringvalue) to actually be added to the page

thanks
By: Skrol29
Date: 2015-03-25
Time: 00:21

Re: magnets...

This is correct and that's why they are parameters "ope=minv", "ope=mok", "ope=mko"...


http://www.tinybutstrong.com/manual.php#html_field_prm_ope
By: lauren
Date: 2015-03-25
Time: 18:17

Re: magnets...

ahhhhhhhhhhhhhhh my bad thanks

i was doing the "lazy" magnet option by not using an "ope=xxx"

thanks
:)
By: lauren
Date: 2015-03-25
Time: 18:22

Re: magnets...

jeeeeez skrol this framework just gets better and better the more i discover
you rock
:)