Jump to content
ryan

Field Dependencies

Recommended Posts

This is epic. Thanks for building it Ryan. Couldn't be happier with how it turned to be!

  • Like 14

Share this post


Link to post
Share on other sites

Like it. Like it. Like it! Thanks to Ryan and Antti.

@Ryan - would be great to get an audio explanation on your demo videos if possible :)

  • Like 3

Share this post


Link to post
Share on other sites

Great SUPERB work! Can't believe how mature this already looks and feels! Thanks Ryan and Antti/Avoine.

  • Like 4

Share this post


Link to post
Share on other sites

Hehe Antti - I seem to recognise the showIf() and requiredIf() calls from somewhere ;)

Oh yes. I remember those irc discussions very well. I actually ended building my own form class, which was conceptually kind of mixture from your work and pw inputfields. Field dependencies are a very powerful concept and it gives great pleasure to define once and see it just work in backend and frontend.

I am actually pretty hooked on that video. Have watched it three times already :)

  • Like 2

Share this post


Link to post
Share on other sites
Have watched it three times already :)

Just three times?  ;)

  • Like 3

Share this post


Link to post
Share on other sites

Just out of interest: is there similar features in other cms you guys have used?

Share this post


Link to post
Share on other sites

Thanks to Avoine, Ryan, Antti.

This is exciting/powerful/wonderful!

  • Like 3

Share this post


Link to post
Share on other sites

Holy..... whatever. I'm smiling like a king right now. Thanks Antii and ryan! :lol:

  • Like 3

Share this post


Link to post
Share on other sites

Just out of interest: is there similar features in other cms you guys have used?

There is something that can give you a similar functionality in Textpattern (bot_wtc), but it doesn't translate to the frontend at all.

  • Like 1

Share this post


Link to post
Share on other sites

OK, what programme did you use to make that spoof video?! After effects or something? My goodness! Avoine/Antti, thank you very much!!!

As for you Mr Cramer, I don't know what to tell you. Seriously, mate, I can't pick an adjective apt enough. Let's just say that you Sir are one of the best things that has happened to the open source community. Hats off!

cheers

/k

  • Like 8

Share this post


Link to post
Share on other sites

I just watched the video at home (damn mobile won't let me). Amazing feature to have!

Watching this I think the "required" need to be more visible or red (asteriks). It can be missed too easily.

And the show animation need to be much quicker! (lol) :P;)

Not can we have also a hideIf() and a makeCoffeeIf()...



I already see the forum full of posts "It doesn't show when..."

  • Like 4

Share this post


Link to post
Share on other sites

I used Gravity Forms a couple of times. While it is build for front-end forms I really like the way the depencies are build there with multiple conditions aka conditional logic.

That looks great. I think we have similar powers with selectors, of course requires some knowhow of selectors and field names.

  • Like 1

Share this post


Link to post
Share on other sites

It's weird how stuff Ryan puts out there always seems to be pretty much rock solid from the beginning. Awesome stuff.

Thanks Ryan, Antti and Avoine!

Edit: how are the variable widths controlled? There have to be many different situations for those fields on one row. When d  they get a new dedicated row if there too many popping up in one row (like the checkbox example with "Pool" and "Children welcome")?

Share this post


Link to post
Share on other sites

Edit: how are the variable widths controlled? There have to be many different situations for those fields on one row. When d  they get a new dedicated row if there too many popping up in one row (like the checkbox example with "Pool" and "Children welcome")?

I asked the same question from Ryan. It is pretty clever stuff actually:

So I set it up to do this: after any dependency action occurs, it maximizes the space available to the row of fields. It does this by modifying the last field in the row to consume the available space. There's actually a lot more to it than that (it took an entire day to get it right) but that's the gist of it. It also does this when the page is initially rendered.

There is also a hint why Ryan deliveres rock solid from the beginning :)

  • Like 8

Share this post


Link to post
Share on other sites
it took an entire day to get it right

yeah, so that's a week to everyone/anyone else. :)

  • Like 7

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...