File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
src/customJs/tools/smartforms Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -38,6 +38,7 @@ export const SmartFormViewer: ViewerComponent<any> = ({ values }) => {
3838 } , '' ) ;
3939 } ;
4040
41+ const congratUrlEncode = encodeURI ( values . congratUrl ) ;
4142 const getCheboxList = ( field : UnlayerField ) : string => {
4243 const labelStyle = `
4344 display: block; text-align: left; vertical-align: middle; color: rgb(68, 68, 68); font-size: 14px;
@@ -156,7 +157,7 @@ export const SmartFormViewer: ViewerComponent<any> = ({ values }) => {
156157 data-field-instance = { values . display }
157158 data-target-id-list = { values . list }
158159 data-action-on-finish = { values . congratBehavior }
159- data-action-on-finish-url = { values . congratUrl }
160+ data-action-on-finish-url = { congratUrlEncode }
160161 >
161162 < div color = "#000" >
162163 { fields . map ( ( field ) => (
You can’t perform that action at this time.
0 commit comments