Webbox embed external web page ក ្ ន ុ ង survey ជ ា modal popup (iframe) ។ Enumerator ចុ ច button ក ្ ន ុ ង label, page បើ ក ក ្ ន ុ ង full-screen overlay ។


Syntax

  <webbox src='https://example.com/reference' title='Reference Guide'>Open Reference Guide</webbox>
  
Attributeការពិពណ៌នា
srcURL ដ ើ ម ្ ប ី load ក ្ ន ុ ង iframe
titleText ក ្ ន ុ ង modal header bar
(content)Button label ដ ែ ល clickable

Basic example

typenamelabel
noteref_guide<webbox src='https://docs.example.com/field-guide' title='Field Guide'>Open Field Guide</webbox>

Passing form values to embedded page

typenamelabelcalculation
calculatewebbox_urlconcat('https://dashboard.example.com/household?id=', ${household_id})
notehh_dash<webbox src='${webbox_url}' title='Household Dashboard'>Open Dashboard</webbox>

Repeat interaction: delete buttons

  <delete-repeat-current>Remove this row</delete-repeat-current>
<delete-repeat-last>Remove last row</delete-repeat-last>
  
typenamelabel
begin_repeatitemsItem
textitem_nameItem name
notedelete_btn<delete-repeat-current>Remove this item</delete-repeat-current>
end_repeat

Best Practices

  1. ប ្ រ ើ webbox ស ម ្ រ ា ប ់ reference material
  2. ធ ា ន ា embedded URL accessible ។
  3. Keep embedded page mobile-friendly ។

Limitations

  • Webbox ត ្ រ ូ វ ក ា រ network connectivity ។
  • Some sites block embedding ។
  • Webbox ជ ា rtSurvey web form extension ។
តើទំព័រនេះមានប្រយោជន៍ទេ?