You can call
top.location = 'https://google.com';
after Submitting the form.
<button data-uifm-tabnum="0" class="rockfm-txtbox-inp-val btn" type="submit" data-val-btn="Submit" data-val-subm="Sending" onclick="javascript:rocketfm.submitForm(this);top.location = 'https://google.com';return false;" >Submit</button>
Alternately,
Call
top.location = 'https://google.com';
as the last line in your submitForm method.