I have a single item edit DVWP working with SPFilterDropDown and SPGetCurrentUser. If it were a new item form, no problem. But, with the edit form, once the script runs, my multi-select lookup field "reverts": the things on the right move to the left.
List 1
- People/Groups Field (returning Account): Person2
- Calculated Field (returning text which shows an e-mail address): Subscription E-Mail
List 2
- Title Field: Title
- Multi-Select Lookup: Subscribers
- Text Field (established by workflow - copy of ID value - used since "ID" can be funky as a query string variable): IID
As a user, I see an item in List 2, select a Subscribe button (just text on DVWP), and see a page that displays just a querystring-filtered editform with the Subscribers field. The field is a multi-select lookup to a big old list of e-mail addresses but, courtesy of the SPFilterDropDown and SPCurrentUser scripts, I just see my e-mail address on the left (unsubscribed) or on the right (subscribed).
However, right now, when the scripts run, my e-mail address flies over to the left side no matter the current value - not a problem on a newform but a mild problem on an editform.
Thoughts?
(This is a proof of concept - in production, I aim to create a third list that "houses" the subscriptions - I have separate lists for discussions, responses, and comments but they all share a Discussion-ID value - if I get this to work, I can have a subscription model that bypasses OOTB alerts.)