This topic is locked

Page opens as Edit Selected (all)

2/2/2010 12:26:16 PM
PHPRunner General questions
M
MaxxaM author

I've looked in the forum and can't find any way to have a list page open with all the information editable.
Example I'm working on:
I've created a database where an admin can setup a series of questions for any given project and assign users to the project. When the user logs in I want them to be able to see all the questions that the admin needs to know and add their response, but I don't want them to have to edit each question individually..or click the inline edit link. While the end result I am looking for is when a user clicks the select all checkbox...then click the Edit Selected button...I do not want them to have to do this step.
Is there a better way to do this? Is there a way to automatically open the list page in (inline)Edit all mode?
Thanks in advance for your help.

M
MaxxaM author 2/2/2010



I've looked in the forum and can't find any way to have a list page open with all the information editable.
Example I'm working on:
I've created a database where an admin can setup a series of questions for any given project and assign users to the project. When the user logs in I want them to be able to see all the questions that the admin needs to know and add their response, but I don't want them to have to edit each question individually..or click the inline edit link. While the end result I am looking for is when a user clicks the select all checkbox...then click the Edit Selected button...I do not want them to have to do this step.
Is there a better way to do this? Is there a way to automatically open the list page in (inline)Edit all mode?
Thanks in advance for your help.


Found the answer, posting link just in case anyone is interested: http://www.asprunner.com/forums/topic/6076-how-to-control-inline-editadd-functions-programmatically/pagehlforce%20inline%20editfromsearch1

M
MaxxaM author 2/11/2010

After playing around with 5.2, this feature works great when you click into the detail view page and go directly into edit all using this code:
<script>

setTimeout('$("a[@id^=ieditlink]").each( function() { if(this.id!="ieditlink_add") $(this).click(); });',1000);

</script>
However...with the new feature of viewing the detail info inline(instead of popup) I cannot get this code to work. Ideas?



Found the answer, posting link just in case anyone is interested: http://www.asprunner.com/forums/topic/6076-how-to-control-inline-editadd-functions-programmatically/pagehlforce%20inline%20editfromsearch1