In a view, how to prompt for text and then set specific fields to that value for all selected records

In a view, how to prompt for text and then set specific fields to that value for all selected records

Subject pretty much describes it....   Want to have a custom action which prompts for some text, which then sets a specific field of all selected records to that text. 

Any pointers anyone?   Thanks in advance