FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » form & lookup columns
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: form & lookup columns [message #172360 is a reply to message #172355] Mon, 14 February 2011 10:53 Go to previous messageGo to previous message
The Natural Philosoph is currently offline  The Natural Philosoph
Messages: 993
Registered: September 2010
Karma:
Senior Member
Wolf wrote:
> Thanks a lot for your suggestion; have you got some links with
> examples of this solution?
>

which one?

Iframes - there probably are solutions out there. I dunno.

Javascript? its a question of replicating a lot of SQL style stuff in
javascript and no I have no examples. Took me long enough to write a
much less complex version of this myself.


The approach I followed was to have EVERY POSSIBLE screen loaded, and
hide everything except the starting point, and unhide the bits that
became relevant as selections were made. In my case it was a giant
flyout menu system, so my event triggers were onmouseover events. In
your case you probably want to use onselect() events or onclick()..



Really you are building a custom web page without the convenience of
form input elements, if you go this route.

And RELYING 100% on javascript being enabled.

However to do this seamlessly without the user actually pressing a
button, you will have to use some form of javascript event handler, even
if its as crude as an onselect.. to trigger either javsacript driven
page reformat, or a partial reload of the page.

What iframes allow, is that partial reload into an area of the page
without reloading the whole page, which means you can do a mini form
submit of a part of a form to allow the server to dish up the clever stuff.

You still have to trigger that somehow, though, and I am not enough of a
guru to say whether or not that can happen without some sort of javascript.

I am hoping that better gurus will be able to help more.

I think the main point to make is that this is a very big task
indeed..days if not weeks, of work. Not a quick cut and paste of some
crib code.

And will require you to acquire some pretty in depth knowledge of bits
of javascript, the DOM and the way server and client side languages
work, to get it done.





> thanks
>
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Stats comp.lang.php (last 7 days)
Next Topic: Curious problem
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Thu Nov 28 15:48:21 GMT 2024

Total time taken to generate the page: 0.09296 seconds