Re: form & lookup columns [message #172366 is a reply to message #172360] |
Mon, 14 February 2011 12:11 |
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
|
|
|