Jump to content
Sign in to follow this  
The Software Man

FM12: Sliding Repeating Fields

Recommended Posts

Sliding of repeating fields seems to have changed in version 12?

Background

v11:

Layout has several clones of a repeating field, each showing a different repetition of the data.

i.e.. myRepeatField[1..1], myRepeatField[2..2], myRepeatField[3..3], ... , myRepeatField[16..16]

All are set to slide up and reduce enclosure.

Result is white space is removed as expected.

--

v12.0.1:

Recreated layout in new project. Not converted from 11.

Layout has several clones of a repeating field, each showing a different repetition of the data.

i.e.. myRepeatField[1..1], myRepeatField[2..2], myRepeatField[3..3], ... , myRepeatField[16..16]

All are set to slide up and reduce enclosure.

Result is white space is not removed on myRepeatField[2..2], myRepeatField[3..3], ... , myRepeatField[16..16]

Only myRepeatField[1..1]

myRepeatField[1..16] works ok. Just not the other field setups? Used to?

--

WTF? can anyone else duplicate this?

Of course I have a project fully developed on this technique in 11 that has now changed in 12.

Share this post


Link to post
Share on other sites

So in FM12 (12.0 v1 Mac), define a field that repeats 10 times.

Add that field to a layout and designate the object to display only [1..1] of the repeats.

Add another iteration of the field to the layout and designate the object to only display [2..2] of the repeats.

Make these slide-up.

The second iteration fails. Sometimes even to render at all.

Making the object display [2..3] of the repeats seems ok. It's only with the singletons.

( I use this technique for a complex form that requires info between the repetitions. Worked great for everything before v12 )

Share this post


Link to post
Share on other sites

No fix for this in 12.0 v2 for Mac Lion, downloaded today.

If you designate a repeating field to show one repetition, starting with anything other that the 1st, the system fails to slide correctly.

I will test Windows and iOS next.

Share this post


Link to post
Share on other sites

I found a work around.

Using text blocks with merge fields, like this:

<<myRepeatField[1]>>

<<myRepeatField[2]>>

These will slide and shrink correctly and will render correctly too.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

By using this site, you agree to our Terms of Use.