Page 1 of 1

how to add a field to a new created card

Posted: Wed Oct 30, 2013 12:53 am
by nicksavill
Hi

I want to dynamically create a new card then add a field to it, something like

on mouseUp
create card "test"
create field "test" in card "test"
end mouseUp

This of course doesn't work. Any ideas how to do it? Should be very easy but I've just spent the last hour searching the the documentation and forums with no success.

Re: how to add a field to a new created card

Posted: Wed Oct 30, 2013 1:25 am
by FourthWorld
Just use the "create field" command by itself, and the card that has focus will receive it.

Re: how to add a field to a new created card

Posted: Wed Oct 30, 2013 1:29 am
by Simon
I was thinking that nicksavill could just group a field then select "behave like background" then there wouldn't be a need to create the new field as it would just come with the new card.

But that was a understanding leap on my part.

Simon