This topic is locked

Dropdown box content not being saved.

1/30/2009 6:42:42 PM
PHPRunner General questions
F
FrankA author

Hi All
I have created a drop down box on both the ADD and EDIT pages for a table which enables an item to be selected from a second table.
When I select a dropdown entry on the ADD page and save, the selected value of the dropdown box is not saved and appears as "admin" on the LIST page.
However, when editing, the dropdown box selection is saved when using the EDIT page.
How do I get the selected entry in the dropdown box saved in the ADD page?
Cheers!

J
Jane 2/2/2009

Hi,
I suppose you've set up User can see and edit their own records only security method on the Advanced security settings dialog on the Security tab and selected this field as OwnerID.

In this case this field is filled automatically with actual OwnerID value.
You can create custom view on the Datasource tables tab for adding records and don't use User can see and edit their own records only security method for this view.

F
FrankA author 2/3/2009

Hi,

I suppose you've set up User can see and edit their own records only security method on the Advanced security settings dialog on the Security tab and selected this field as OwnerID.

In this case this field is filled automatically with actual OwnerID value.
You can create custom view on the Datasource tables tab for adding records and don't use User can see and edit their own records only security method for this view.


G'Day Jane
I have tried both of the above suggestions but still receive 'admin' in the field when saving the ADD page instead of the selected value from the drop down box.
I have also tried the "edit box with AJAX popup" option in lieu of the dropdown box but with the same result.
Cheers!

J
Jane 2/4/2009

Frank,
It's difficult to tell you what's happening without seeing actual files.
Please publish your project on Demo Account and open a ticket at http://support.xlinesoft.com sending a URL to your pages along with instructions on reproducing this error.