News:

BB code in posts seems to be working again!
I haven't turned on every single tag, so please let me know if there are any that are used/needed but not activated.

Main Menu

Change text based on another shape's value

Started by Crazy Squirrel, May 16, 2022, 12:02:30 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Crazy Squirrel

I would like to input a value into a shape and have the adjacent shape fill in text based on the value.

e.g. If the number entered is between 1-10 then Monday is entered. If it's 11-20, Tuesday etc.

tia

vojo

still not clear what you are trying to do

if shape A is a number
and shape B says day if the week,

group the shapes
in shape A
- use props.cell fields input a number
- user.cell to push to neighbor.......setf(getref(<shapeB>),<shape B>!user.inbound = <shape A>!props.cell)
in shape B
-user.day = if (user.inbound<11,"monday",if(user.bound <21, "tuesday",if (usr.inbound < 31, "wednesday", <etc>)))))))
go to shape show field and select user.day.

or something like this

Browser ID: smf (possibly_robot)
Templates: 4: index (default), Display (default), GenericControls (default), GenericControls (default).
Sub templates: 6: init, html_above, body_above, main, body_below, html_below.
Language files: 4: index+Modifications.english (default), Post.english (default), Editor.english (default), Drafts.english (default).
Style sheets: 4: index.css, attachments.css, jquery.sceditor.css, responsive.css.
Hooks called: 151 (show)
Files included: 34 - 1306KB. (show)
Memory used: 1053KB.
Tokens: post-login.
Cache hits: 13: 0.00195s for 26,736 bytes (show)
Cache misses: 3: (show)
Queries used: 17.

[Show Queries]