User Defined Limit - Assign Variable From Form?
Design and Skin Customization
This might work as long as $item._profile_id is available in the template where your jrCore_list call is located.
Assign the limit variable:
{capture name="limit_template" assign="limit_template_row"}
{literal}
{if isset($_items)}
{foreach $_items as $item}
{$item.sales_videos_limit}
{/foreach}
{/if}
{/literal}
{/capture}
{jrCore_list module="jrVideo" profile_id=$item._profile_id limit="1" template=$limit_template_row assign="svl"}
jrCore_list function:
{if isset($svl) && $svl > 0}
{jrCore_list module="jrVideo" profile_id=$item._profile_id search1="video_file_item_price > 0" order_by="video_display_order numerical_asc" limit=$svl}
{else}
{jrCore_list module="jrVideo" profile_id=$item._profile_id search1="video_file_item_price > 0" order_by="video_display_order numerical_asc" limit="2"}
{/if}
Hope this helps!