Right click the Popover Frame and not the button while in Layout mode.
Select Script Triggers
Select the OnObjectEnter trigger to perform this script:
Set Field [YourTable::fld_temp ; Random * 2000 + 1000 ]
I have to laugh, you must just shake your head at all these newbie questions. Yes, the frame and not the button.