can prepare url before submit