[web2py] Re: change the size of a text field in a form

2016-10-24 Thread Steven Vannoy
This is exactly what I'm trying to do, none of the suggestions below has changed my form view at all. Must be doing something wrong. I'm trying to avoid using a custom.widget so I don't have to specifically layout everyone of my fields, there are over 30, but I want them to be a fixed width so

Re: [web2py] Re: How do I display db text/string fields in the format in which they were entered on the form?

2016-10-20 Thread Steven Vannoy
Thanks, the replace option from @Anthony worked pretty well, it got the new lines but didn't provide indentation (as expected). The tags get both, and I like the font well enough except that it is a lighter gray on a gray background so if I can manage to get that changed I'll probably go with

[web2py] How do I display db text/string fields in the format in which they were entered on the form?

2016-10-20 Thread Steven Vannoy
I have an app in which users can fill out a form and then that form is displayed in a view. The form has many fields, several of which are free form text boxes, where type is 'text'. Specifically my db table is called 'sites' and a field related to my question is 'other', in which a user might

[web2py] Re: how to redirect to an 'external' url in a view?

2016-08-28 Thread Steven Vannoy
Hi, See below (or above) where I provide the entire traceback. Your code does the same thing as Luise's in that when I hover over the link, it shows it will try to resolve to: 127.0.0.1:8000/welcome/view_a_site/www.huffingtonpost.com My app is 'welcome' and 'view_a_site' is the current view

[web2py] Re: how to redirect to an 'external' url in a view?

2016-08-28 Thread Steven Vannoy
.huffingtonpost.com' Thank you for helping me work on this S On Sunday, August 28, 2016 at 7:31:17 PM UTC-4, luis.va...@metamaxzone.com wrote: > > Can you post the full traceback? it seems like youre trying to convert the > url to some numeric class. So with the full trace back we c

[web2py] Re: how to redirect to an 'external' url in a view?

2016-08-28 Thread Steven Vannoy
28, 2016 at 6:57:37 PM UTC-4, luis.va...@metamaxzone.com wrote: > > Hello! > > Try this: > > {{=site.website}} > > > El domingo, 28 de agosto de 2016, 17:29:40 (UTC-4), Steven Vannoy escribió: >> >> I have a view that displays a database form. One of the f

[web2py] how to redirect to an 'external' url in a view?

2016-08-28 Thread Steven Vannoy
I have a view that displays a database form. One of the fields in that form is my user's own website. I'd like to display that as an active link in the browser. I've tried two different forms, the first produces an error because it is trying to resolve to a view within my application, and the

[web2py] Re: How do I display a link to an 'upload' field in my table?

2016-06-02 Thread Steven Vannoy
On Thursday, June 2, 2016 at 9:14:38 PM UTC-4, Dave S wrote: > > > > On Thursday, June 2, 2016 at 12:28:54 PM UTC-7, Steven Vannoy wrote: >> >> I have a DAL table that contains an upload field. After a user fills in >> the form and selects a file via the "Cho

[web2py] How do I display a link to an 'upload' field in my table?

2016-06-02 Thread Steven Vannoy
I have a DAL table that contains an upload field. After a user fills in the form and selects a file via the "Choose File" button, I want to display the form the just filled out but not in an editable form. So I have a controller/view pair called "view_the_form" In view_the_form.html I want to