I see you edited this yesterday, so I assume you are still looking for a solution.
Perhaps you can adapt this example for this use case: