diff --git a/pkg/vtiger/modules/Webforms/layouts/v7/modules/Settings/Webforms/uitypes/Picklist.tpl b/pkg/vtiger/modules/Webforms/layouts/v7/modules/Settings/Webforms/uitypes/Picklist.tpl index 9247db6c0cf18316d9e68db08a9300fc50575cf3..49e30db3171220a91ab704dc1fd83f54ed8dc565 100644 --- a/pkg/vtiger/modules/Webforms/layouts/v7/modules/Settings/Webforms/uitypes/Picklist.tpl +++ b/pkg/vtiger/modules/Webforms/layouts/v7/modules/Settings/Webforms/uitypes/Picklist.tpl @@ -25,6 +25,9 @@ <option value="{Vtiger_Util_Helper::toSafeHTML($PICKLIST_NAME)}" {if $PICKLIST_COLORS[$PICKLIST_NAME]}class="{$CLASS_NAME}"{/if} {if trim(decode_html($FIELD_MODEL->get('fieldvalue'))) eq trim($PICKLIST_NAME)} selected {/if}>{$PICKLIST_VALUE}</option> {/foreach} </select> + {if $FIELD_MODEL->getFieldName() eq 'targetmodule' and $MODE eq 'edit'} + <input type="hidden" name="targetmodule" value="{$FIELD_MODEL->get('fieldvalue')}" /> + {/if} {if $PICKLIST_COLORS} <style type="text/css"> {foreach item=PICKLIST_VALUE key=PICKLIST_NAME from=$PICKLIST_VALUES}