This topic is locked
[SOLVED]

 Popup Edit forms do not close on Save

2/14/2018 12:49:45 PM
PHPRunner General questions
I
infotech author

I don't understand some popup form behaviors in PHPRunner [9.8 (29967 x64)]
I will also preface this with "I am not exactly new to PHP, but am new to PHP Runner. I have only used PHPRunner for the last 15 days." (albeit 6-8 Hrs a day) and have created an incredibly powerful app in a very short time. These Forums have been very helpful and PHPRunner rocks! <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=question&id=25349&image=1&table=forumtopics' class='bbc_emoticon' alt=':D' />
My problem:

[indent]Two tables: Client and Users.
Both Edit record settings are set to "return to the list page" "After record is updated".
Both Edit record pages open as as popups from the appropriate list page.
[indent]Client 'edit record' popup form closes on "Save" and updates the record appropriately.[/indent]
[indent]User 'edit record' popup form does NOT close on "Save", however the User record is updated.

The save button is grayed and the cursor shows the red "no" icon for the button, preventing the user from clicking it again.

The user is forced to "X-out" the form or click the "Cancel" button.

[/indent]

This behavior confuses the users "Did it save?"[/indent]
I thought at first maybe my "After record updated" code created the issue [SQL UPDATE query to place timestamp in another table], but running the app without the SQL code does not affect the behavior. The popup form does not close, but does update the User table record.
Am I missing some setting somewhere?
...{wonk}

I
infotech author 3/19/2018

This was solved by removing my bad code on the page. Reset to initial fixed my issue. Sorry to lead people astray...