So, do you want to modify the layout of the add/edit forms, or just default 
in the COMPANY on an add?

this line:    I see formargs, editargs, createargs, etc., but am having 
trouble finding examples (that I understand) of how to modify these forms 
and not recreate the wheel by making totally custom add/edit grid forms.

....makes me think you don't want to alter the layout.  Looking for 
clarification.

-Jim

On Wednesday, January 29, 2014 11:13:27 AM UTC-6, A36_Marty wrote:
>
>
> I've created a web2py grid of records based on the selection on the page. 
>  i.e. a table COMPANY has many EMPLOYEES -- someone selects a given COMPANY 
> and a SQLFORM.grid of the related EMPLOYEES is shown.
>
> Question:  How can I customize the web2py Add/Edit forms that appear when 
> the respective buttons are pushed on the Grid.
>
> More specifically, if one wishes to add an EMPLOYEE, I need to hide the 
> related COMPANY field on the add form, yet still fill in the value with 
> whatever COMPANY is currently selected.
>
> I see formargs, editargs, createargs, etc., but am having trouble finding 
> examples (that I understand) of how to modify these forms and not recreate 
> the wheel by making totally custom add/edit grid forms.
>
> Your responses are most appreciated.  I am a novice web2py user with 
> limited webapp development experience.
>
> Thanks in advance.
>

-- 
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 web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to