How are you creating the form? Can you show the code?

On Oct 24, 10:45 am, Luther Goh Lu Feng <[email protected]> wrote:
> I see. How do I filter the specific form that has id='myform'?
>
> On Oct 24, 11:30 pm, "mr.freeze" <[email protected]> wrote:
>
> > This is how I do it. There may be a better way.
>
> > def myform():
> >     form = SQLFORM.factory(Field('test'))
> >     submit = form.element('input',_type='submit')
> >     submit['_style'] = 'display:none;'
> >     return dict(form=form)
>
> > You could always just use a CSS rule too
>
> > On Oct 24, 10:21 am, Luther Goh Lu Feng <[email protected]> wrote:
>
> > > I have created a dropdown list, using SQLFORM.factory which will 
> > > autosubmitted
> > > using ajax when there is a change in selection.
>
> > > However the form generated has a submit button, which I would like to 
> > > hide. I
> > > would like to ask for tips regarding this.
>
>

Reply via email to