Send Value from Webview to Screen

I Want to share my succesfull blocks,
Recently i have asking so many times on forum about “how to send value on webview to kodular”, there so many answer thanks for that i got a hint, but that make me a bit confused.

on my php success alert i adding

  echo xswal('Data Berhasil Disimpan');//my alert
		echo "<script>
		var result = ".$idd.";
		var appInventorInput = window.AppInventor.getWebViewString();
		window.AppInventor.setWebViewString( result );

the $idd is auto generate from $db->insert_id;
then after that i catch the value using appinverntor code like above

blocks (5)
this block is sending the value into the next screen named Photo with the value

thank you guys for sharing the document and be patient with me, now i can clear this project app :grinning: :grin:

I changed your category. At the moment it is not really a guide. Maybe you can expand on it on how to use the webview string block.

oh yeah my bad not to put all blocks on it, its fine, atleast some user can fine my title to help them from stuck, thanks for change the category