Can I collapse a Free Form Page?

Technical discussion of modding FormBoss and other related topics

Can I collapse a Free Form Page?

Postby imgmkr » Thu Apr 15, 2010 12:49 am

Hello,

I was wondering if I can collapse a Free From Page when using a show/hide radio button? This is to say on a Sortable List page when there are "Field Initially Visible?" fields turned off the submit button seems to collapse upward. The page looks normal.

In a Free Form page the submit button stays towards the bottom of the page there is a large white space where the turned off fields reside. The user has to scroll down past a white space to submit as if there are missing fields.

I was wondering if there was a way to get that to snap upward like in Sortable Pages?

Thank you in advance for any help on this.
imgmkr
 
Posts: 6
Joined: Tue Apr 06, 2010 11:09 pm

Re: Can I collapse a Free Form Page?

Postby admin » Sat Apr 24, 2010 7:58 pm

An interesting issue.

The first note of caution would be to say that if this is a form embedded in an iFrame I do not think it would work to shrink the whole page down. That said, it sounds like your not really needing that, you just want to make sure we can hide a section to eliminate the white space in a free-form page.

To that end, I have actually created a sample job, now added to the goodies folder, and included with this post.

The job shows how we can tie several elements together to accomplish our goal.

Finally, I should say that in the coming months one of the features I look forward to adding is tighter control over such items in the form flow, as well as the grouping of items into common divs for block adding of dynamic entiries.

So for example, we can click a button to add a new block of say, address boxes that are created on the fly. I know that may sound quite different than what we're talking about here, but it all comes together in that it's control over blocks of elements.
Attachments
show-hide-full-pages.zip
(2.8 KiB) Downloaded 5 times
admin
Site Admin
 
Posts: 421
Joined: Sat Sep 27, 2008 11:02 am

Re: Can I collapse a Free Form Page?

Postby imgmkr » Mon Apr 26, 2010 11:21 pm

i know my explanation was confusing but please try the examples. this is the same form, the only change is one is a sortable page and the other is a free form page.

in this example when clicking yes/no the lower "comments/submit my form" form fields move up and down accordingly: http://web-ctr.net/forms/output/forms/s ... /page0.php

in this example when clicking yes/no the "comments/submit my form" stay locked down towards the bottom: http://web-ctr.net/forms/output/forms/s ... /page0.php

not sure why or how to fix it. that's my issue.

- thank you in advance for any help in this regard.
imgmkr
 
Posts: 6
Joined: Tue Apr 06, 2010 11:09 pm

Re: Can I collapse a Free Form Page?

Postby admin » Wed Apr 28, 2010 5:42 pm

Ah, well their I did a whole 'lotta work for nothing : )

Ok so this is actually much easier, and my apologies for not seeing that sooner...

Unfortunately, this isn't something we can 'fix', simply because the nature of free form pages. Each element is independently positioned, which means we cannot know what and where they should collapse too. Sortables are different, in that they are in spans that push the next one down. Thus, when we hide one, the elements below push up.

Free forms, again, cannot do this, as if they did we would no longer have freely positioned elements.

I know this is not perfect, but it's a limitation that comes with being able to place something wherever we need it. That said, as I may have mentioned earlier, one of my top goals for the coming months is to add blocks, which means we can have sortable blocks of free-form items!
admin
Site Admin
 
Posts: 421
Joined: Sat Sep 27, 2008 11:02 am

Re: Can I collapse a Free Form Page?

Postby princemac » Tue Jul 27, 2010 5:23 pm

Hi,

This is the exact same situation I'm in. I know you said your working on it, any update on the progress?

Edit: I like the idea of "Custom blocks", this would be great. I can just use the sortable form with blocks to achieve the form I want and still have all the great benefits of sortable over free form. Also be able to reuse the blocks, instead of having to recreate or duplicate in free form.


Thanks in advance for any reply.
princemac
 
Posts: 9
Joined: Sun Jul 25, 2010 1:49 am

Re: Can I collapse a Free Form Page?

Postby admin » Sat Aug 14, 2010 10:56 am

Just a quick check in--

Not too much to add as of right now, other than this is one of the top priorities. For right now though, I think your best bet may be to look into learning a bit of jQuery or Prototype and implementing your own solution. In both frameworks the animation and easing techniques are quite simple, and of course, both are supported in FormBoss.
admin
Site Admin
 
Posts: 421
Joined: Sat Sep 27, 2008 11:02 am


Return to FormBoss Technical

Who is online

Users browsing this forum: No registered users and 1 guest

cron