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 #172366 is a reply to message #172360] Mon, 14 February 2011 12:11 Go to previous messageGo to previous message
Tim Streater is currently offline  Tim Streater
Messages: 328
Registered: September 2010
Karma:
Senior Member
In article <ijb1id$bq3$1(at)news(dot)albasani(dot)net>,
The Natural Philosopher <tnp(at)invalid(dot)invalid> wrote:

> 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()..

Use ajax as I just posted.

> 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.

Of course it will need to be enabled. I'm always amused by people saying
make your page work without JS.

> 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.

True but see my other post.

> 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.

"No" is the answer.

> 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.

This is all true. It's quite a big task if you don't have much
experience.

--
Tim

"That excessive bail ought not to be required, nor excessive fines imposed,
nor cruel and unusual punishments inflicted" -- Bill of Rights 1689
[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: Sun Dec 01 05:59:21 GMT 2024

Total time taken to generate the page: 0.04172 seconds