How to Redirect your Dubsado Forms after Submission
Have you ever wanted to redirect your client to an entirely different page after they submit one of your Dubsado forms? It’s possible with Lead Capture forms, and since the new form builder release, you’re able to redirect with public Proposals. But it’s not possible with private Proposals or Questionnaires.
Why would you want to utilize a redirect? Great question!
Let’s say you’re using the majority of Dubsado’s features except for their invoicing or payment integrations. For example, you would rather use PayPal’s new payment plan feature or send people to Stripe’s native checkout page, where you have your own settings for transactions.
Previously, you would have to set this up manually and couldn’t fully take advantage of Dubsado’s automation features. Until now…
Redirecting Lead Capture forms
If you want to redirect your leads after they submit a Lead Capture form, open your form in Dubsado, then:
Copy the link you want the form to redirect to after submission.
Click Form settings on the sidebar.
In the Redirect URL, paste the link URL.
Click Save form.
If you need to redirect your client to another Dubsado form, you’ll have to do it manually through a project or automatically through a workflow.
Redirecting Proposals & Questionnaires
If you’re using a Dubsado Proposal and/or Questionnaire to redirect people after form submission, then adding an HTML block is easy since we’re provided this element in the form builder. Unfortunately, if you’re using a Contract or Sub Agreement form, you won’t be able to utilize the redirect because these type of forms do not allow for HTML blocks.
The Code
This is your Javascript. Add an HTML Block onto your Dubsado form. Delete the example code, then copy and paste the following code into the block:
<script type="application/javascript"
id="diFormRedirect"
>
window.diRedirectURL = 'https:>https://www.google.com'; // URL to redirect to. Please make sure to include http:// or https://
window.openInNewTab = 'yes'; // yes or no for opening the redirect URL in a new tab. We strongly recommend keeping this as yes.
(function(_0x358ceb,_0x8ec486){function _0x5f518e(_0x2547be,_0x4e4f1c,_0x4a4f1b,_0x5debbc){return diRF2_0x41af(_0x4e4f1c-0x232,_0x5debbc);}function _0x4ad118(_0x22a5be,_0x1b2825,_0x77d860,_0x4702e7){return diRF2_0x41af(_0x4702e7-0x18f,_0x22a5be);}const _0x59714a=_0x358ceb();while(!![]){try{const _0x4924b5=-parseInt(_0x5f518e(0x3ce,0x3c0,0x3b5,0x3d5))/(0x25b2+-0x824+0x55*-0x59)+-parseInt(_0x4ad118(0x34f,0x354,0x358,0x34d))/(-0x1a1d+-0x678*-0x2+-0x4b*-0x2d)+-parseInt(_0x4ad118(0x332,0x35c,0x345,0x354))/(0x5*0x516+0x1*-0x26ae+-0xd43*-0x1)*(parseInt(_0x5f518e(0x3c7,0x3e5,0x408,0x3fd))/(-0x226f+0x2498+-0x9*0x3d))+-parseInt(_0x4ad118(0x33b,0x327,0x346,0x333))/(-0x19a9+-0x5e*-0x56+-0x5e6)+parseInt(_0x5f518e(0x3ce,0x3ca,0x3cc,0x3ae))/(-0x4*0x985+0x1e7*-0x1+0x4d*0x85)+-parseInt(_0x4ad118(0x338,0x321,0x30c,0x328))/(0xca5+0x1ee7+0xd*-0x359)*(parseInt(_0x4ad118(0x348,0x323,0x311,0x334))/(-0x1f12+-0x2*-0x31a+0x18e6))+parseInt(_0x5f518e(0x3eb,0x3f3,0x3e7,0x3dd))/(0xbca+-0x24ee+0x5*0x509);if(_0x4924b5===_0x8ec486)break;else _0x59714a['push'](_0x59714a['shift']());}catch(_0x236c86){_0x59714a['push'](_0x59714a['shift']());}}}(diRF2_0xf221,0x101*0x3c9+-0x689eb*0x1+0x64cdf));function diRedirectToUrl(){function _0x4b91bd(_0x2a77f7,_0x1ea7a9,_0x308ab5,_0x5e66cb){return diRF2_0x41af(_0x308ab5- -0x2a4,_0x2a77f7);}function _0x31e7f7(_0x25ae83,_0x321445,_0x52e28b,_0x1842a3){return diRF2_0x41af(_0x321445- -0x27b,_0x52e28b);}const _0x33844a={};_0x33844a['sDarD']=function(_0x2ebe9a,_0x23926b){return _0x2ebe9a===_0x23926b;},_0x33844a[_0x31e7f7(-0xcf,-0xc7,-0xb3,-0xe4)]='_self',_0x33844a['OHfKk']='_blank';const _0x45491c=_0x33844a;_0x45491c[_0x4b91bd(-0xdc,-0xe4,-0xef,-0xe6)](window['openInNewT'+'ab'],'no')?window[_0x4b91bd(-0xef,-0x10a,-0xfd,-0x103)](window[_0x4b91bd(-0xf9,-0xe3,-0x105,-0xf3)+_0x4b91bd(-0x133,-0x13b,-0x11d,-0x133)],_0x45491c[_0x4b91bd(-0xef,-0x10c,-0xf0,-0x111)]):window[_0x31e7f7(-0xe5,-0xd4,-0xaf,-0xb9)](window['diRedirect'+_0x31e7f7(-0xcf,-0xf4,-0xff,-0xd6)],_0x45491c[_0x4b91bd(-0x12f,-0x10d,-0x11b,-0x119)]);}(function(){const _0x25b411={'wNpyh':_0x1e7c53(0x1f,0x13,0x28,0x27)+'+$','kZuMr':function(_0x47a23c,_0x5c5c9a){return _0x47a23c(_0x5c5c9a);},'IoTBZ':_0x4105dd(0x1f1,0x1bb,0x1d1,0x1c0)+'nction()\x20','SVzPH':_0x1e7c53(0x20,0x1d,0x37,0x4)+_0x4105dd(0x1d6,0x1c5,0x1e1,0x1f0)+_0x1e7c53(0x2a,0x23,0x10,0x2e)+'\x20)','QoSbT':function(_0x2af8f3,_0x5f39b6){return _0x2af8f3===_0x5f39b6;},'ufHrI':function(_0x5ea1ac,_0x3af1e4){return _0x5ea1ac===_0x3af1e4;},'frTEw':'oUASb','jtDMq':function(_0x44014f,_0x21cc55){return _0x44014f===_0x21cc55;},'VrWrQ':_0x1e7c53(0x35,0x30,0x2c,0x18),'pxdfM':function(_0x13582f,_0x4070da){return _0x13582f(_0x4070da);},'EalPQ':function(_0x3e5d09,_0x1e2a96){return _0x3e5d09+_0x1e2a96;},'hYcyp':function(_0x54935c,_0x193560){return _0x54935c!==_0x193560;},'RMhxw':_0x4105dd(0x1fc,0x1ca,0x1e5,0x1d2),'leRtn':function(_0x377023){return _0x377023();},'tYSmZ':_0x1e7c53(0x12,0x34,0x1f,0x0),'yELRb':'info','bYjFq':_0x1e7c53(0x46,0x33,0x5c,0x29),'JLihc':_0x4105dd(0x1e3,0x208,0x1e4,0x1c2),'RhQUr':_0x1e7c53(0x43,0x2b,0x38,0x1f),'BIyug':'trace','nKoJS':function(_0x116466,_0x1008c2){return _0x116466<_0x1008c2;},'wBahu':_0x4105dd(0x1d5,0x1d4,0x1b9,0x1d9),'WZSUo':_0x4105dd(0x1ad,0x1b8,0x1c5,0x1ab),'GLTZl':function(_0x42aec0,..._0x5240cd){return _0x42aec0(..._0x5240cd);},'fpIxC':'api/forms/'+_0x1e7c53(0x42,0x66,0x44,0x64),'JWrmd':_0x1e7c53(0x16,0x3a,0x16,0x2d)+'Capture/','wIjNy':function(_0x5c54c9,_0x4d8972){return _0x5c54c9===_0x4d8972;},'RGbIp':function(_0x930270,_0x520f53,_0x133b28){return _0x930270(_0x520f53,_0x133b28);},'rmetb':function(_0x387632,_0x20b6d4,_0x5e348b){return _0x387632(_0x20b6d4,_0x5e348b);}},_0x4fa063=(function(){let _0x346f63=!![];return function(_0x56ebb6,_0x2a4891){const _0x182d40=_0x346f63?function(){function _0x65d14b(_0x4abd88,_0x260d21,_0x23daaf,_0x1ed78a){return diRF2_0x41af(_0x23daaf-0x46,_0x4abd88);}if(_0x2a4891){const _0x342999=_0x2a4891[_0x65d14b(0x1fb,0x200,0x205,0x206)](_0x56ebb6,arguments);return _0x2a4891=null,_0x342999;}}:function(){};return _0x346f63=![],_0x182d40;};}()),_0x1b3f9e=_0x25b411[_0x4105dd(0x1a5,0x1da,0x1bf,0x1c7)](_0x4fa063,this,function(){function _0xebd0d(_0x15c04b,_0x3b87da,_0x3a8b72,_0x1f2d73){return _0x1e7c53(_0x15c04b-0x414,_0x3b87da-0xb9,_0x3a8b72-0x1be,_0x1f2d73);}function _0xdb9667(_0x3c6bfd,_0x6f5dd8,_0x124178,_0x342a6f){return _0x4105dd(_0x3c6bfd-0x5d,_0x6f5dd8,_0x3c6bfd-0x240,_0x342a6f-0x29);}return _0x1b3f9e[_0xebd0d(0x455,0x447,0x454,0x43d)]()[_0xebd0d(0x45e,0x47c,0x44c,0x45d)](_0xebd0d(0x433,0x411,0x453,0x41b)+'+$')[_0xdb9667(0x436,0x447,0x41d,0x440)]()[_0xdb9667(0x41d,0x406,0x3f9,0x3ff)+'r'](_0x1b3f9e)[_0xebd0d(0x45e,0x455,0x459,0x44e)](_0x25b411[_0xebd0d(0x427,0x424,0x41a,0x43b)]);});_0x1b3f9e();const _0x46fdf3=(function(){const _0x3d43ab={'NdUbn':function(_0x598f3c,_0x1b1826){function _0x484b91(_0x2173e8,_0x5b3269,_0x357e0f,_0x5d2a27){return diRF2_0x41af(_0x357e0f- -0x225,_0x5b3269);}return _0x25b411[_0x484b91(-0x8d,-0xa7,-0x93,-0x75)](_0x598f3c,_0x1b1826);},'vPBey':_0x25b411[_0x3352c5(0x439,0x422,0x420,0x417)],'JHdCH':_0x25b411[_0x5ee16c(0x50,0x5f,0x66,0x51)],'anOUV':function(_0x2dcc55,_0x5e61a9){function _0x525ec4(_0x78337c,_0x22556a,_0x2148ee,_0x27486d){return _0x3352c5(_0x22556a,_0x78337c- -0x24b,_0x2148ee-0x137,_0x27486d-0xf);}return _0x25b411[_0x525ec4(0x1ce,0x1e3,0x1f1,0x1d8)](_0x2dcc55,_0x5e61a9);},'MnUOy':_0x5ee16c(0x1a,0x2d,0x32,0x33)};function _0x3352c5(_0x3fc48f,_0x86f9ec,_0x3dc04c,_0x5b1726){return _0x4105dd(_0x3fc48f-0x1f,_0x3fc48f,_0x86f9ec-0x259,_0x5b1726-0x4c);}function _0x5ee16c(_0x175197,_0x17f4ee,_0x3409e1,_0x5718a5){return _0x1e7c53(_0x17f4ee-0x26,_0x17f4ee-0x1b8,_0x3409e1-0x1b7,_0x3409e1);}if(_0x25b411['ufHrI'](_0x25b411[_0x3352c5(0x410,0x430,0x451,0x449)],_0x3352c5(0x46d,0x448,0x469,0x451))){let _0x2ab2a8=!![];return function(_0x103d74,_0x15e127){const _0x252c40={'vFjyf':function(_0x2285e9,_0x15a475){function _0xbe2fca(_0x5448cc,_0x29307a,_0x33b945,_0x377575){return diRF2_0x41af(_0x377575- -0x157,_0x33b945);}return _0x3d43ab[_0xbe2fca(0x5a,0x5c,0x5e,0x4f)](_0x2285e9,_0x15a475);},'JvYgZ':function(_0x1a9384,_0x365cd2){return _0x1a9384+_0x365cd2;},'IBQGl':_0x3d43ab[_0x527bec(0x184,0x1b2,0x1b2,0x1a5)],'cdWbW':_0x3d43ab[_0x527bec(0x188,0x16d,0x181,0x186)],'mZTOU':function(_0x391336,_0x488a9e){function _0x15a82d(_0x2b0335,_0x17a746,_0x28bb12,_0x405f56){return _0x4d1d36(_0x17a746,_0x405f56- -0x86,_0x28bb12-0x26,_0x405f56-0x59);}return _0x3d43ab[_0x15a82d(0x44e,0x46f,0x438,0x450)](_0x391336,_0x488a9e);},'qpPvQ':_0x3d43ab['MnUOy']},_0x2da867=_0x2ab2a8?function(){function _0x3f931a(_0x463757,_0x21517a,_0x560df4,_0x209f68){return _0x527bec(_0x463757-0x97,_0x21517a-0x119,_0x463757,_0x21517a-0x149);}function _0x3f692c(_0x6e5ae1,_0x1576a2,_0x2286f1,_0x16806e){return _0x527bec(_0x6e5ae1-0x3f,_0x1576a2-0x9c,_0x16806e,_0x2286f1- -0x1c);}if(_0x15e127){if(_0x252c40['mZTOU'](_0x252c40[_0x3f931a(0x305,0x308,0x2f5,0x30b)],_0x3f931a(0x2c9,0x2c8,0x2d7,0x2ea))){const _0x1ed067=_0x15e127[_0x3f692c(0x19a,0x1a7,0x19a,0x1b6)](_0x103d74,arguments);return _0x15e127=null,_0x1ed067;}else _0x237e92=GfZujx['vFjyf'](_0x1a127b,GfZujx[_0x3f692c(0x17e,0x175,0x179,0x17c)](GfZujx[_0x3f931a(0x2d4,0x2de,0x2d7,0x2dd)](GfZujx[_0x3f692c(0x1b3,0x1ad,0x198,0x17b)],GfZujx['cdWbW']),');'))();}}:function(){};function _0x4d1d36(_0x1d53d9,_0x3063ab,_0x2375ff,_0x389766){return _0x3352c5(_0x1d53d9,_0x3063ab-0xbc,_0x2375ff-0x1cb,_0x389766-0xe6);}function _0x527bec(_0x318dfa,_0x2a6540,_0x135185,_0x1cfcc0){return _0x3352c5(_0x135185,_0x1cfcc0- -0x296,_0x135185-0xf7,_0x1cfcc0-0x156);}return _0x2ab2a8=![],_0x2da867;};}else{const _0x1c67a1=_0x1e0662[_0x3352c5(0x429,0x44c,0x432,0x43b)](_0x1f54db,arguments);return _0x8c382c=null,_0x1c67a1;}}()),_0x51d6fb=_0x25b411[_0x4105dd(0x1c9,0x1f4,0x1d0,0x1da)](_0x46fdf3,this,function(){function _0x171ede(_0xb57a,_0x5d7128,_0x2d77f5,_0x2c3900){return _0x1e7c53(_0x2c3900- -0x1c3,_0x5d7128-0x18f,_0x2d77f5-0x10d,_0x5d7128);}function _0x373640(_0x5d1e8e,_0x1c1d01,_0x44a14b,_0x3b16ed){return _0x1e7c53(_0x3b16ed-0xa3,_0x1c1d01-0x16e,_0x44a14b-0x16c,_0x5d1e8e);}if(_0x25b411[_0x373640(0xd7,0xb1,0xcf,0xb8)](_0x25b411[_0x171ede(-0x178,-0x1a0,-0x19d,-0x19a)],_0x171ede(-0x184,-0x17c,-0x172,-0x193))){const _0x4c70b3=_0x59112c[_0x373640(0xb2,0xe4,0xea,0xcb)+'r'][_0x373640(0xed,0xce,0xf1,0xd4)][_0x373640(0xbc,0xd2,0xa3,0xc4)](_0x89d06c),_0x6bf7f4=_0x1aca8c[_0x52f47f],_0x1566b2=_0x475e1d[_0x6bf7f4]||_0x4c70b3;_0x4c70b3['__proto__']=_0xe9a74b['bind'](_0x386942),_0x4c70b3[_0x171ede(-0x176,-0x17b,-0x169,-0x182)]=_0x1566b2['toString'][_0x373640(0xe1,0xcb,0xb9,0xc4)](_0x1566b2),_0x34c8dd[_0x6bf7f4]=_0x4c70b3;}else{const _0x2f795a=function(){function _0xa1a4a3(_0x2ef9da,_0x3517d1,_0x4a7c16,_0xb1d9fc){return _0x171ede(_0x2ef9da-0x3a,_0x4a7c16,_0x4a7c16-0xfa,_0x3517d1-0x85);}let _0x36bda8;try{if(_0x25b411[_0xa1a4a3(-0xe6,-0xff,-0x116,-0x107)](_0x25b411[_0xea3d31(-0xd9,-0xbd,-0xd3,-0xae)],_0xa1a4a3(-0x107,-0x109,-0x118,-0xfb)))_0x36bda8=_0x25b411['pxdfM'](Function,_0x25b411[_0xea3d31(-0x82,-0xb1,-0xa3,-0x9b)](_0x25b411[_0xea3d31(-0x85,-0xbd,-0xa3,-0x95)](_0x25b411[_0xa1a4a3(-0x128,-0x12a,-0x147,-0x134)],_0xa1a4a3(-0x141,-0x11e,-0x121,-0xff)+'ctor(\x22retu'+_0xea3d31(-0xd1,-0xcd,-0xc2,-0xe1)+'\x20)'),');'))();else{if(_0x5443ac){const _0x11e7df=_0x1ac42a[_0xea3d31(-0x8c,-0x93,-0xae,-0xc3)](_0x335f2c,arguments);return _0x449a21=null,_0x11e7df;}}}catch(_0x630c8f){_0x36bda8=window;}function _0xea3d31(_0x20bdd9,_0x284d82,_0x162afd,_0xb35b14){return _0x171ede(_0x20bdd9-0x3f,_0x284d82,_0x162afd-0x2f,_0x162afd-0xd7);}return _0x36bda8;},_0x3beb6d=_0x25b411['leRtn'](_0x2f795a),_0x4f21eb=_0x3beb6d[_0x171ede(-0x170,-0x195,-0x194,-0x17b)]=_0x3beb6d['console']||{},_0x130385=[_0x25b411[_0x171ede(-0x1be,-0x19e,-0x17f,-0x19c)],'warn',_0x25b411[_0x373640(0xf2,0xcb,0xe2,0xd9)],_0x25b411['bYjFq'],_0x25b411['JLihc'],_0x25b411[_0x171ede(-0x1ad,-0x1b6,-0x1a6,-0x1ba)],_0x25b411['BIyug']];for(let _0x24e899=-0x6c3+-0x1f98+0x3*0xcc9;_0x25b411[_0x373640(0xa4,0xab,0xa4,0xa6)](_0x24e899,_0x130385[_0x373640(0xe2,0xdb,0xfd,0xe8)]);_0x24e899++){if(_0x25b411[_0x171ede(-0x197,-0x17e,-0x194,-0x195)](_0x25b411[_0x171ede(-0x190,-0x1c8,-0x1c3,-0x1b4)],_0x25b411['WZSUo'])){const _0x3b062c=_0x34eb25?function(){function _0x247ece(_0x31b3fe,_0x21497e,_0x4e1d6f,_0x1cc6b1){return _0x171ede(_0x31b3fe-0x1d9,_0x4e1d6f,_0x4e1d6f-0x13a,_0x1cc6b1-0x329);}if(_0x2dc77d){const _0x5e7c4a=_0xd2ce19[_0x247ece(0x1b3,0x1ae,0x1aa,0x1a4)](_0x33b382,arguments);return _0x4a7e91=null,_0x5e7c4a;}}:function(){};return _0x3482b1=![],_0x3b062c;}else{const _0x434c08=_0x46fdf3[_0x171ede(-0x1ac,-0x1b6,-0x1a4,-0x19b)+'r'][_0x373640(0xdd,0xcf,0xf7,0xd4)][_0x373640(0xce,0xa6,0xe7,0xc4)](_0x46fdf3),_0x1f13ef=_0x130385[_0x24e899],_0x1d31cb=_0x4f21eb[_0x1f13ef]||_0x434c08;_0x434c08['__proto__']=_0x46fdf3[_0x171ede(-0x1a9,-0x189,-0x1bc,-0x1a2)](_0x46fdf3),_0x434c08[_0x171ede(-0x180,-0x187,-0x164,-0x182)]=_0x1d31cb[_0x373640(0xe9,0xc1,0xcd,0xe4)]['bind'](_0x1d31cb),_0x4f21eb[_0x1f13ef]=_0x434c08;}}}});function _0x4105dd(_0x273f73,_0x16ff74,_0x2da2c8,_0x53a5e4){return diRF2_0x41af(_0x2da2c8-0x34,_0x16ff74);}_0x51d6fb();function _0x1e7c53(_0x5eb6e0,_0x36fdd5,_0x5a9fb5,_0x4e997c){return diRF2_0x41af(_0x5eb6e0- -0x181,_0x4e997c);}const {fetch:_0xb6d829}=window;window[_0x1e7c53(0x37,0x3f,0x4b,0x31)]=async(..._0x3cc9a3)=>{const _0x298d9c=await _0x25b411[_0x40b1c1(-0x100,-0x11b,-0x11d,-0x123)](_0xb6d829,..._0x3cc9a3);if(_0x3cc9a3[0x62*0xb+0x177+-0x5ad][_0x40b1c1(-0x11f,-0x12e,-0x10e,-0x133)](_0x25b411[_0x40b1c1(-0x14b,-0x161,-0x147,-0x14a)])||_0x3cc9a3[-0x114*0x1+0xfe1*0x2+-0x1eae]['includes'](_0x25b411['JWrmd'])){const _0x2f2b34=_0x298d9c[_0x5793f9(0x1f0,0x207,0x207,0x1d7)]();(_0x25b411['QoSbT'](_0x2f2b34[_0x5793f9(0x1df,0x1d6,0x1d0,0x1c1)],-0x1*0x1c96+0xb90+0x11ce)||_0x2f2b34['status']===-0x125a+-0x15b2+0x1*0x28d5||_0x25b411[_0x40b1c1(-0x14f,-0x12b,-0x144,-0x12b)](_0x2f2b34[_0x5793f9(0x1df,0x1f8,0x1f1,0x1ee)],0x1*-0x2047+-0x5ff+0x2712))&&diRedirectToUrl();}function _0x40b1c1(_0x1b2679,_0x52f358,_0x3a1648,_0x443cd6){return _0x4105dd(_0x1b2679-0x1d7,_0x443cd6,_0x52f358- -0x31b,_0x443cd6-0x14d);}function _0x5793f9(_0x1640c4,_0x4be1a8,_0x3f4f8a,_0x3f38ed){return _0x4105dd(_0x1640c4-0x39,_0x3f38ed,_0x1640c4-0x10,_0x3f38ed-0x1c7);}return _0x298d9c;};}());function diRF2_0x41af(_0x1e4c38,_0x541963){const _0x235e6a=diRF2_0xf221();return diRF2_0x41af=function(_0x27afef,_0x215cb8){_0x27afef=_0x27afef-(-0x47*0x74+-0x26ea+-0x244d*-0x2);let _0x42653e=_0x235e6a[_0x27afef];if(diRF2_0x41af['CpdkjD']===undefined){var _0x1c5fe0=function(_0x173ac5){const _0x143172='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x2641a6='',_0x38fbfe='',_0x231771=_0x2641a6+_0x1c5fe0;for(let _0x2f360f=0x155+-0x13f*-0x1+0x42*-0xa,_0x58a13d,_0x165758,_0xdb66fb=-0x23b0+-0x4ed+-0x1*-0x289d;_0x165758=_0x173ac5['charAt'](_0xdb66fb++);~_0x165758&&(_0x58a13d=_0x2f360f%(0x3*-0x988+-0x703+0x239f)?_0x58a13d*(0x170b+0xea5+-0x2570)+_0x165758:_0x165758,_0x2f360f++%(-0xbe3+-0x158+0xd3f))?_0x2641a6+=_0x231771['charCodeAt'](_0xdb66fb+(-0x14c1+-0x1489+0x2954))-(-0x144b+0x1*-0x2457+-0x1*-0x38ac)!==-0x1*0x15fc+-0x150a*0x1+-0x1583*-0x2?String['fromCharCode'](0x1*0x34a+-0x6*-0x3a9+0x377*-0x7&_0x58a13d>>(-(0x2*0x69d+0x5*-0x55e+0x2*0x6cf)*_0x2f360f&-0x3d*0x21+-0x2066+0x2849)):_0x2f360f:0x786+0xa9e+-0x102*0x12){_0x165758=_0x143172['indexOf'](_0x165758);}for(let _0x41ce9b=0xe08*0x2+0x5bc+0x7*-0x4d4,_0x4c259f=_0x2641a6['length'];_0x41ce9b<_0x4c259f;_0x41ce9b++){_0x38fbfe+='%'+('00'+_0x2641a6['charCodeAt'](_0x41ce9b)['toString'](0x738+-0x2*0x3fd+0xd2))['slice'](-(0x1ca7+0x1*-0x565+0x5d*-0x40));}return decodeURIComponent(_0x38fbfe);};diRF2_0x41af['oZhFWH']=_0x1c5fe0,_0x1e4c38=arguments,diRF2_0x41af['CpdkjD']=!![];}const _0x320b2c=_0x235e6a[0x1303+-0x240b+-0x28*-0x6d],_0x311ebc=_0x27afef+_0x320b2c,_0x46e4c7=_0x1e4c38[_0x311ebc];if(!_0x46e4c7){const _0x330b97=function(_0x19217d){this['EiEdMg']=_0x19217d,this['BWsTyV']=[0x6f4+0x34*0x9c+-0x9*0x44b,0x1c25+0xc47+-0x286c,0x158b+-0x45*-0x65+-0x2*0x1862],this['ZnWhDd']=function(){return'newState';},this['GQNZFV']='\x5cw+\x20*\x5c(\x5c)\x20*{\x5cw+\x20*',this['sGBMqh']='[\x27|\x22].+[\x27|\x22];?\x20*}';};_0x330b97['prototype']['VVXPEj']=function(){const _0x25ae63=new RegExp(this['GQNZFV']+this['sGBMqh']),_0x4ebdf9=_0x25ae63['test'](this['ZnWhDd']['toString']())?--this['BWsTyV'][-0x4*0x5d2+-0xb*-0x2cf+-0x79c]:--this['BWsTyV'][0xb70+0x4*-0x281+-0x16c];return this['tZhIQw'](_0x4ebdf9);},_0x330b97['prototype']['tZhIQw']=function(_0x5df112){if(!Boolean(~_0x5df112))return _0x5df112;return this['rjLdOc'](this['EiEdMg']);},_0x330b97['prototype']['rjLdOc']=function(_0x913775){for(let _0x49b1aa=-0x1*0x7cf+0xd*-0x6a+-0xd31*-0x1,_0x179a41=this['BWsTyV']['length'];_0x49b1aa<_0x179a41;_0x49b1aa++){this['BWsTyV']['push'](Math['round'](Math['random']())),_0x179a41=this['BWsTyV']['length'];}return _0x913775(this['BWsTyV'][-0x5b5*0x3+0x1*0x1ce5+-0xbc6*0x1]);},new _0x330b97(diRF2_0x41af)['VVXPEj'](),_0x42653e=diRF2_0x41af['oZhFWH'](_0x42653e),_0x1e4c38[_0x311ebc]=_0x42653e;}else _0x42653e=_0x46e4c7;return _0x42653e;},diRF2_0x41af(_0x1e4c38,_0x541963);}function diRF2_0xf221(){const _0x5c7ff5=['uw9tyLq','yw5pvvy','ndm5nteZyKfhuhji','sKHKq0G','D0jHAhu','vejJtKO','A1P1txi','Bg9N','D05WEwG','sw9uqLO','AfLJExa','yxbPl2zVCM1ZlW','mtqYoti4ng9SrffOzG','n2z0y1vzrG','vNjxCLe','C3rHDhvZ','CM1LDgi','CMv0DxjUicHMDq','sNzzz1O','zgLszwrPCMvJDa','kcGOlISPkYKRkq','E30Uy29UC3rYDq','yMLUza','zNjurxC','mJmYmJm0mgz3C0LWCG','mZe3oteWngflv1DXrW','tMrvyM4','B3bLBG','DfLtBvO','y29UC3rYDwn0BW','uK1OEhC','CM4GDgHPCYiPka','y2XVBMu','y3rVCIGICMv0Dq','DLbczxK','DwziCKK','zxHJzxb0Aw9U','shzezw0','ChjVDg90ExbL','nZq2odrgDvfeC2i','ChLJugu','C0rHCKq','rfrKrMu','EuvmuMi','zMv0y2G','Aw5JBhvKzxm','u1z6ueG','B1vbu2i','D0LQtNK','sujrr2W','mJaWmduYu2HNrK92','yxbWBhK','ANretxe','mtq0mtC3mdnKyMXdBw0','Dg9tDhjPBMC','q29TCgXLDguV','DgfIBgu','mZnfCMfLqKO','BgvUz3rO','zxjYB3i','CxbqDLe','y29UC29Szq','rwfSufe','C2vHCMnO','r0XuwMW','BKTVsLm','DMD6BuO','zNbjEem','vvjm','BNvrwMu','t0HMs2S','uMHrvxi','uKDIsxa'];diRF2_0xf221=function(){return _0x5c7ff5;};return diRF2_0xf221();}
</script>
Update your redirect link where you see https://www.google.com
Update how you want to open the redirect by updating where you see yes
Keeping “yes” will open your redirect URL in a new tab while changing it to “no” will open the redirect from the same page as your Dubsado form.
Finally, save and preview your form to see if the redirect is working correctly.
Make sure you do NOT delete the straight single quotes wrapping the value (https://www.google.com and yes).
Things to note
While I’ve provided two different methods to opening your form redirect, we recommend keeping the “yes” option in the code so that your form redirect will open in a new tab.
Opening in a new tab is a fail safe to make sure that your Dubsado form has been submitted properly. We tested both ways (new tab vs. same tab) and either option is proven to wait until Dubsado’s processing is complete. However, our thought is that it might be a better experience for your lead/prospect/client to see the submitted version of the form. But I’ll leave that up to you!
Interested in 20% off Dubsado? Use code: Dub-ins and we both get a sweet deal!
Interested in 20% off Dubsado? Use code: Dub-ins and we both get a pretty sweet deal!