This topic is locked

HIDE FIELDS FROM INLINE ADD... DEPENDING ON MASTER TABLE FIELD

9/5/2016 2:33:21 AM
PHPRunner General questions
M
marpunta author

Ok i tried to find something similar with no luck

Here is the thing
I have a master and a child table
the child table has ten fields
what I want is

when i try to inline add a new child

i want to show or hide some of the fields of the child

depending on the value of a certain field of the master record (just a checkbox on/off)
I tried on list page 'before display' of the child table

but i cant get the masterlink
I tried on add page 'before display' of the child table

but i cant hide the fields
any help?

Myr0n 9/8/2016



Ok i tried to find something similar with no luck

Here is the thing
I have a master and a child table
the child table has ten fields
what I want is

when i try to inline add a new child

i want to show or hide some of the fields of the child

depending on the value of a certain field of the master record (just a checkbox on/off)
I tried on list page 'before display' of the child table

but i cant get the masterlink
I tried on add page 'before display' of the child table

but i cant hide the fields
any help?


Take a look to these

https://xlinesoft.com/phprunner/docs/hidefield.htm

https://xlinesoft.com/phprunner/docs/showfield.htm

https://xlinesoft.com/phprunner/docs/phprunner_session_variables.htm

https://xlinesoft.com/phprunner/docs/setproxyvalue.htm

https://xlinesoft.com/phprunner/docs/getmasterrecord.htm

https://xlinesoft.com/phprunner/docs/how_to_hide_edit_selected_delete_selected_buttons.htm
https://xlinesoft.com/phprunner/docs/show_dropdown_list_of_us_states.htm

https://xlinesoft.com/phprunner/docs/speed_up_data_entry_using_events.htm

https://xlinesoft.com/phprunner/docs/show_data_from_master_table_on_detail_view_edit_add_page.htm
Hope this help you out.

Myr0n 9/8/2016



Ok i tried to find something similar with no luck

Here is the thing
I have a master and a child table
the child table has ten fields
what I want is

when i try to inline add a new child

i want to show or hide some of the fields of the child

depending on the value of a certain field of the master record (just a checkbox on/off)
I tried on list page 'before display' of the child table

but i cant get the masterlink
I tried on add page 'before display' of the child table

but i cant hide the fields
any help?


Check this example

http://www.asprunner.com/forums/topic/21671-show-a-field-in-the-add-inline-add-based-on-a-value-of-another/