Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9188149
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T19:56:15+00:00 2026-06-17T19:56:15+00:00

now in web2py every field in the db look like this in the form

  • 0

now in web2py every field in the db look like this in the form

Label : [            ]

i’m using the custom form so i removed all labels and i want to show them as transparent bacground in the input and textarea and set the first option to the label in select

here is the customization

<div>{{=form.custom.widget.field}}</div>

i want it to look like this

inputs/textareas:
[ label ]
selects:
[ -- label -- [v]]
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T19:56:16+00:00Added an answer on June 17, 2026 at 7:56 pm
    {{label = form.custom.label.field}}
    

    For input fields you can use the placeholder attribute:

    {{form.element(_name='fieldname')['_placeholder'] = label}}
    <div>{{=form.custom.widget.field}}</div>
    

    For your select fields:

    {{form.custom.widget.field.element('option').append(label)}}
    <div>{{=form.custom.widget.field}}</div>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Now I custom a control like slider, and I want to custom a ValueChanged
Now that I've gotten relatively familiar with web2py, I'd like to give Django a
Now this is tricky. I am trying to do WAP testing using firefox and
Now this might be a dumb question, but I'm still new to using Visual
Now I have routing set up like this. resources :communities do resources :community_topics end
I'm making a good progress using Web2py and Google App Engine, but now I
Now this is .NET but I am sure the principal should apply to all
Now I'm not sure if this is something I'm doing wrong, or something thats
Now facebook require to have these options when you want to use bulit-in actions
Now I have a long query and I'd like to alternate with such a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.