lcollong
FabriKant d'applications web
Hi,
On a list view, I need to display a window to let the user select the right day (calendar) and time (dropdown) as well as place (dropdown) to be use in a process involving all the rows he has selected.
All the rows will use the same informations catched only once before actually process the rows.
I can't use update list plugin as the process involved is more than updating rows and the way the window shows the field to be set by the user is really unfriendly.
My first idea would be to use the js part of the php list plugin to build a JS popup to allow the user to select/enter his choice before triggering the actual php code on the server. But how can I pass back the js variable to the php script eval'd or included in the plugin ?
Second idea would to use the js list plugin to build the popup, get the user choices and trigger an ajax call with the user choices in the url parameter. But my list in not ajaxified. May I still use this process ?
Is there another way to let the user select several rows from the displayed list, show up a popup to enter values in 3 different fields and pass them back to a php script which will actually process the data on each row and finally display back the list ?
Thanks
On a list view, I need to display a window to let the user select the right day (calendar) and time (dropdown) as well as place (dropdown) to be use in a process involving all the rows he has selected.
All the rows will use the same informations catched only once before actually process the rows.
I can't use update list plugin as the process involved is more than updating rows and the way the window shows the field to be set by the user is really unfriendly.
My first idea would be to use the js part of the php list plugin to build a JS popup to allow the user to select/enter his choice before triggering the actual php code on the server. But how can I pass back the js variable to the php script eval'd or included in the plugin ?
Second idea would to use the js list plugin to build the popup, get the user choices and trigger an ajax call with the user choices in the url parameter. But my list in not ajaxified. May I still use this process ?
Is there another way to let the user select several rows from the displayed list, show up a popup to enter values in 3 different fields and pass them back to a php script which will actually process the data on each row and finally display back the list ?
Thanks