and form.record

On Mon, Dec 1, 2008 at 5:11 PM, Wes James <[EMAIL PROTECTED]> wrote:
> that is form.vars
>
> On Mon, Dec 1, 2008 at 5:03 PM, Wes James <[EMAIL PROTECTED]> wrote:
>> When I debug in wingide, there is a
>>
>> local
>>  form
>>    0
>>    1
>>
>> but there is not formsvars or forms.record
>>
>> where are this?
>>
>> On Mon, Dec 1, 2008 at 4:38 PM, Yarko Tymciurak <[EMAIL PROTECTED]> wrote:
>>> if you were single-stepping w/ WingIDE, you could just look at your
>>> variables ;-)
>>> Doesn't the WingIDE 101 (or whatever that free one is) let you do this?
>>>
>>> On Mon, Dec 1, 2008 at 5:13 PM, Wes James <[EMAIL PROTECTED]> wrote:
>>>>
>>>> What is a good way to print output from a fuction like this?
>>>>
>>>> Say I want to see what form.vars.email contains, is there a way to
>>>> send this to the web page?
>>>>
>>>>  def sync_profile_and_t2(form):
>>>>    if form.vars.email!=form.record.email:
>>>>
>>>>  db(db.t2_person.id==form.vars.student_id).update(email=form.vars.email)

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to