Thanks for that, but it doesn't seem to work when using sqlform.custom.label & wigdets. Which is how I happen to be doing the whole form for this application. Is there an alternative?
On Jan 1, 9:21 am, mdipierro <mdipie...@cs.depaul.edu> wrote: > form=SQLFORM(...) > form[0].insert(position, TR( > LABEL(self.messages.verify_email + ':'), > INPUT(_name="email_two", > _type="email", > requires=IS_EXPR('value==%s' % \ > repr(request.vars.get(email, None)), > error_message=T('Emails do not math')),'') > > On Dec 31 2009, 5:52 pm, Delaney <delaneygilli...@gmail.com> wrote: > > > So I'm finishing up my first web2py program (has been interesting, > > once you 'get' the web2py way of doing things. One last thing left. > > I need to link the actions of a fewinputsfrom a SQLForm together. > > > Specifically I need a double emailinputsthat have to matched but > > don't really need the second one in the model, or do I? > > > Also need to link a drop down input and string input, so if the drop > > down option is 'Other' the string input has to be filled out, > > otherwise it need to be empty. > > > Where in the manual or online docs can I find the best way to > > implement this? > > > Thanks!
-- You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web...@googlegroups.com. To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/web2py?hl=en.