Re: HTML Form/Page and Navigation with multiple buttons

2007-06-01 Thread Steve Holden
Bruno Desthuilliers wrote: > Steve Holden a écrit : >> mosscliffe wrote: > (snip) >>> Why is a link better than a button ? >>> >> Beats me why you got that advice. Buttons are perfectly adequate for >> that purpose. > > Call me a purist if you want, but I don't think forms and buttons are > "per

Re: HTML Form/Page and Navigation with multiple buttons

2007-06-01 Thread Bruno Desthuilliers
Steve Holden a écrit : > mosscliffe wrote: (snip) >> Why is a link better than a button ? >> > Beats me why you got that advice. Buttons are perfectly adequate for > that purpose. Call me a purist if you want, but I don't think forms and buttons are "perfectly adequate" for normal navigation, wh

[OT] HTML Form/Page and Navigation with multiple buttons

2007-06-01 Thread Bruno Desthuilliers
mosscliffe a écrit : > Excellent - thanks for all your help. I now have a form created by a > python script executing an HTML page, s/executing/generating/, I think... > doing everything I need, except > for Session Data (probably use hidden fields ?? future research) HTTP is a stateless prot

Re: HTML Form/Page and Navigation with multiple buttons

2007-05-31 Thread mosscliffe
On May 31, 5:19 pm, Steve Holden <[EMAIL PROTECTED]> wrote: > mosscliffe wrote: > > Excellent - thanks for all your help. I now have a form created by a > > python script executing an HTML page, doing everything I need, except > > for Session Data (probably use hidden fields ?? future research) an

Re: HTML Form/Page and Navigation with multiple buttons

2007-05-31 Thread Steve Holden
mosscliffe wrote: > Excellent - thanks for all your help. I now have a form created by a > python script executing an HTML page, doing everything I need, except > for Session Data (probably use hidden fields ?? future research) and > the actual paging logic !!! > In fact you should find you can n

Re: HTML Form/Page and Navigation with multiple buttons

2007-05-31 Thread mosscliffe
Excellent - thanks for all your help. I now have a form created by a python script executing an HTML page, doing everything I need, except for Session Data (probably use hidden fields ?? future research) and the actual paging logic !!! If I use a link. I have to add all my hidden fields to the q

[OT] Re: HTML Form/Page and Navigation with multiple buttons

2007-05-31 Thread Bruno Desthuilliers
mosscliffe a écrit : > I am struggling to find a python example of the scenario - I have. > > I have a python script, which generates a page with a search button > (actually an input field). > > The data from the above submissions is interrogated and the same > script produces a new search option

Re: HTML Form/Page and Navigation with multiple buttons

2007-05-31 Thread Paul Boddie
On 31 May, 15:22, mosscliffe <[EMAIL PROTECTED]> wrote: > [Multiple submit buttons in HTML forms] > How can I identify which button has been pressed. Do I need a > separate form for each button and hide all the relevant session fields > in each form or is there a way of identifying which button

Re: HTML Form/Page and Navigation with multiple buttons

2007-05-31 Thread Dave Borne
> How can I identify which button has been pressed. Do I need a > separate form for each button and hide all the relevant session fields > in each form or is there a way of identifying which button has been > pressed on the page. Hi, Richard, Just give each button (or input) tag a distinct name

HTML Form/Page and Navigation with multiple buttons

2007-05-31 Thread mosscliffe
I am struggling to find a python example of the scenario - I have. I have a python script, which generates a page with a search button (actually an input field). The data from the above submissions is interrogated and the same script produces a new search option and the a page of results from the