I am working on creating an HTML card that will display input values and images from an overlay.
- I require assistance with transferring data from the overlay to the card
- Populating the data and image in the card similar to the example below.
A sample of a single section would be greatly appreciated.
<!-- Overlay -->
<div class="ibm-common-overlay ibm-overlay-alt-two" data-widget="overlay" data-type="alert" id="overlayExampleAlert">
<form id="overlay" class="ibm-row-form" method="post" action="__REPLACE_ME__">
<h1 class="ibm-bold">Usecase 1</h1>
<div class="ibm-fluid">
<div class="ibm-col-12-12">
<label for="uc-title">Use case title<span class="ibm-required">*</span></label></br>
<span>
<input type="text" value="" size="40" id="uc-title" name="uc-title">
</span>
</div>
</div>
<div class="ibm-fluid">
<div class="ibm-col-12-12">
<label for="uc-desc">Use case description<span class="ibm-required">*</span></label></br>
<span>
<input type="text" value="" size="40" id="uc-desc" name="uc-desc">
</div>
</div>
<div class="ibm-fluid">
<div class="ibm-col-12-12">
<p class="ibm-form-elem-grp">
<label>No of scene(s)<span class="ibm-required">*</span></label></br>
<span>
<select id="scenes">
<option value="" selected>Select one</option>
<option value="A">1</option>
<option value="B">2</option>
<option value="C">3</option>
<option value="D">4</option>
<option value="E">5</option>
<option value="F">6</option>
</select>
</span>
</p>
</div>
</div>
<div class="ibm-fluid">
<div class="ibm-col-12-12">
<label for="myInputField1">Usecase Image<span class="ibm-required">*</span></a></label>
<span>
<input id="myInputField1" type="file" data-widget="fileinput" data-multiple="false" />
</span>
</div>
</div>
<div class="ibm-fluid">
<div class="ibm-col-12-12">
<p class="ibm-btn-row"><button class="ibm-btn-pri ibm-btn-blue-50" style="float:right;" onclick="IBMCore.common.widget.overlay.hide('overlayExampleAlert',true);">Save</button> <button
class="ibm-btn-sec ibm-btn-transparent ibm-btn-blue-50" style="float:right" ; onclick="IBMCore.common.widget.overlay.hide('overlayExampleAlert',true);">Cancel</button></p>
</div>