Here is the html,
<form class="form-horizontal">
<fieldset>
<!-- Form Name -->
<legend>Form Name</legend>
<!-- Appended Input-->
<div class="form-group">
<label class="col-md-4 control-label" for="appendedtext">Appended
Text</label>
<div class="col-md-4">
<div class="input-group">
<input id="appendedtext" name="appendedtext" class="form-control"
placeholder="placeholder" type="text">
<span class="input-group-addon">append</span>
</div>
<p class="help-block">help</p>
</div>
</div>
</fieldset>
</form>
On Thursday, April 14, 2016 at 10:39:56 AM UTC-4, Ron Chatterjee wrote:
>
> db.define_table("search_table",
> Field('search_string', 'string'))
>
>
>
> form = SQLFORM(db.search_table);
>
>
> view {{=form}}
>
>
> If I have to use validators and security of SQLFORM, how do I add appended
> text to this form?I am guessing {{=form.custom.begin}}?
>
>
>
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.