I am completely new to using iMacros and have had, so far, great success in having it automate some of my workload. I have come across a problem that I have not been so far able to find an answer for.
I am using iMacros to fill out forms for different clients from a CSV file. I have yet to understand how to input dates from the CSV into a datepicker field. Each client has a different date that needs to be put in. Here is the code for the field that I am trying to input the date into from the CSV file:
Code: Select all
<md-input-container ng-class="{'md-has-icon': amDatePicker.showInputIcon &&
(amDatePicker.showInputIcon || amDatePicker.allowClear) }" class="md-input-has-value md-has-icon">
<label class="ng-binding" for="input_25">Enter date</label>
<!-- ngIf: amDatePicker.showInputIcon --><div class="am-date-picker__calendar-icon ng-scope" ng-if="amDatePicker.showInputIcon">
<button class="md-icon-button md-button md-ink-ripple" type="button" ng-transclude="" ng-click="amDatePicker.openPicker($event)" aria-label="Clear">
<!-- ngIf: amDatePicker.showInputIcon --><md-icon md-svg-icon="resources/vendors/am-date-picker/ic_today_24px.svg" ng-if="amDatePicker.showInputIcon" class="ng-scope" aria-hidden="true"><svg height="100%" viewBox="0 0 24 24" width="100%" xmlns="http://www.w3.org/2000/svg" fit="" preserveAspectRatio="xMidYMid meet" focusable="false">
<path d="M0 0h24v24H0z" fill="none"></path>
<path d="M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11zM7 10h5v5H7z"></path>
</svg></md-icon><!-- end ngIf: amDatePicker.showInputIcon -->
<div class="md-ripple-container"></div></button>
</div><!-- end ngIf: amDatePicker.showInputIcon -->
<input ng-model="amDatePicker.modelMomentFormatted" ng-click="amDatePicker.openPicker($event)" class="am-date-picker__input ng-pristine ng-valid md-input ng-not-empty ng-touched" type="text" readonly="readonly" id="input_25" aria-invalid="false" style=""><div class="md-errors-spacer"></div>
<!-- ngIf: amDatePicker.allowClear --><div class="am-date-picker__clear-icon ng-scope" ng-if="amDatePicker.allowClear">
<button class="md-icon-button md-button md-ink-ripple" type="button" ng-transclude="" ng-click="amDatePicker.clearDate()" aria-label="Clear">
<md-icon md-svg-icon="resources/vendors/am-date-picker/ic_close_24px.svg" class="ng-scope" aria-hidden="true"><svg height="100%" viewBox="0 0 24 24" width="100%" xmlns="http://www.w3.org/2000/svg" fit="" preserveAspectRatio="xMidYMid meet" focusable="false">
<path d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"></path>
<path d="M0 0h24v24H0z" fill="none"></path>
</svg></md-icon>
</button>
</div><!-- end ngIf: amDatePicker.allowClear -->
</md-input-container>
Chrome:844/8.4.4 & Firefox 9030808/9.0.3
2. What operating system are you using? (please also specify language)
Windows 7 32-bit
3. Which browser(s) are you using? (include version numbers)
Chrome 56.0.2924.87 & Firefox 51.0.1
4. Do the included demo macros work ok?
Yes
7. Do you encounter the same problem with the iMacros Browser, iMacros for Internet Explorer and iMacros for Firefox? Note: If your question is specifically about iMacros for Firefox or iMacros for Chrome, please use their sub-forums.
Yes
If I can clarify in anyway, please let me know. Thank you so much for your help!