Skip to content

Commit bc7fd78

Browse files
committed
V.0.1.9
1 parent 77bc0d8 commit bc7fd78

4 files changed

Lines changed: 36 additions & 12 deletions

File tree

Documentation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,12 +90,12 @@
9090

9191
## Predefined Custom Keys
9292

93+
* `page_loaded` : After the page is fully loaded, you can give your Custom Script.
9394
* `fill_action` : If you do not want Automatic Form Feed or your form opens after any request, then you can place Javascript event in any HTML Element in the page.
9495
```js
9596
// With this, when you click on this HTML Element, only your Form Feed will start.
9697
document.querySelector("#htmlElm").addEventListener("click", FillAPP.checkNextEntry);
9798
```
98-
* `page_loaded` : After the page is fully loaded, you can give your Custom Script.
9999
* `form_filled` : After the form is successful feeded, you can give what script you want to run.
100100
* `entry_saved` : After the form is successfully saved, you can give what script you want to run.
101101
* `status`

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,13 @@ try {
143143
* Radio Field Selector only name not id
144144
* Not Work in the Google Form
145145

146+
### V.0.1.9
147+
148+
* `NEW: ` Clear field value then fill new value.
149+
* `FIXED:` Not working in the Angular Site.
150+
* `FIXED:` Custom keys `page_loaded` and `fill_action` running time.
151+
* `FIXED:` Check Success Message.
152+
146153
### V.0.1.8
147154

148155
* `NEW: ` Change Field Background color of fill data completed in the form field.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "fill-excel-data-to-form",
3-
"version": "0.1.8",
3+
"version": "0.1.9",
44
"description": "Fill Excel Sheet Data into HTML Online Forms",
55
"author": "Jeevan Lal <jeevan15498@gmail.com>",
66
"license": "MIT",

src/options/App.vue

Lines changed: 27 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -420,14 +420,9 @@
420420
</ul>
421421
<br>
422422
<h1 class="title is-5">Support Me for Motivation</h1>
423-
<ul>
424-
<li><code>₹10+</code> <a target="_blank" href="https://ctechhindi.blogspot.com/2020/10/support-page-fill-excel-data-cth-google.html">Donate an Amount of your Choice</a></li>
425-
<li><code>₹50&nbsp;</code> <a target="_blank" href="https://ctechhindi.blogspot.com/2020/10/support-page-fill-excel-data-cth-google.html">Thank you for supporting C Tech Hindi.</a></li>
426-
<li><code>₹100</code> <a target="_blank" href="https://ctechhindi.blogspot.com/2020/10/support-page-fill-excel-data-cth-google.html">Your name will be put on the extension option page.</a></li>
427-
<li><code>₹200</code> <a target="_blank" href="https://ctechhindi.blogspot.com/2020/10/support-page-fill-excel-data-cth-google.html">Your name will be put to the top of extension option page.</a></li>
428-
<li><code>₹500</code> <a target="_blank" href="https://ctechhindi.blogspot.com/2020/10/support-page-fill-excel-data-cth-google.html">Your name or a company logo will be put to extension option page.</a></li>
429-
<li><code>₹500+</code> <a target="_blank" href="https://ctechhindi.blogspot.com/2020/10/support-page-fill-excel-data-cth-google.html">Your name or a company logo will be put to extension option page and github repository readme page.</a></li>
430-
</ul>
423+
<a href="http://ctechhindi.in/extensions/fill-excel-data-on-html-form/#support" style="color: red;font-weight: 700;font-family: monospace;font-size: xx-large;" target="_blank">
424+
Please Donate an Amount of your Choice
425+
</a>
431426
</div>
432427
</b-tab-item>
433428

@@ -603,14 +598,17 @@
603598
<option value="date">Date</option>
604599
</b-select>
605600
</b-field>
601+
606602
<!-- Info Message Box: Multiple Checkbox -->
607603
<b-message type="is-info" v-if="colSettings.field_type === 'checkbox'">
608604
<p>Multiple checkbox appears like this <b-icon icon="checkbox-marked"></b-icon> and in these we can select multiple checkboxes.</p>
609605
</b-message>
606+
610607
<!-- Info Message Box: Single Checkbox (Radio) -->
611608
<b-message type="is-info" v-if="colSettings.field_type === 'radio'">
612609
<p>The single checkbox appears like this <b-icon icon="radiobox-marked"></b-icon> and we can select only one such as Gender Male or Female.</p>
613610
</b-message>
611+
614612
<!-- Field: Select Option with Drop-down value/name -->
615613
<b-field label="How to fill the data in this Field" v-if="(['select', 'multiple'].indexOf(colSettings.field_type) !== -1)">
616614
<b-select placeholder="Type" v-model="colSettings.check_value_through" expanded>
@@ -619,10 +617,17 @@
619617
<option value="value">Through of Value</option>
620618
</b-select>
621619
</b-field>
620+
621+
<!-- Clear field value then fill new value -->
622+
<b-field>
623+
<b-checkbox v-model="colSettings.clearThenFillValue">Clear field value then fill new value</b-checkbox>
624+
</b-field>
625+
622626
<!-- If excel column value is empty then fill this default value -->
623627
<b-field label="If excel column value is empty then fill this default value" v-if="['fill_action', 'page_loaded', 'form_filled', 'entry_saved'].indexOf(activeSiteColNameOrignal) == -1" expanded>
624628
<b-input v-model="colSettings.default_value" placeholder="Enter Field Deafult Value"></b-input>
625629
</b-field>
630+
626631
<!-- Field: Select Option with RegExp -->
627632
<b-field label="If you want to match the excel data with this form field data then turn on RegExp." v-if="(['select', 'multiple', 'radio', 'checkbox'].indexOf(colSettings.field_type) !== -1)">
628633
<b-checkbox v-model="colSettings.check_value_with_regexp">Search Data with RegExp</b-checkbox>
@@ -860,6 +865,8 @@ export default {
860865
// After filling the data of this field, filling the data of another field
861866
isAfterFillFields: false,
862867
afterFillFields: [],
868+
// Clear field value then fill new value
869+
clearThenFillValue: false,
863870
},
864871
// Javascript Events
865872
javascriptEventList: ["click", "dblclick", "change", "copy", "cut", "paste", "submit", "focus", "focusin", "focusout", "mousedown", "mouseenter", "mouseleave", "mousemove", "mouseup", "mouseover", "mouseout", "input", "keydown", "keypress", "keyup", "load", "unload"],
@@ -869,9 +876,13 @@ export default {
869876
releaseNotesData: [
870877
// Tags: NEW, ADDED, FIXED, IMPROVED
871878
{
872-
version: '0.1.7 - 0.1.8',
873-
date: 'Thursday, 12 November 2020',
879+
version: '0.1.9+',
880+
date: 'Thursday, 19 November 2020',
874881
desc: [
882+
{ tag: 'NEW', name: 'Clear field value then fill new value.' },
883+
{ tag: 'FIXED', name: 'Not working in the Angular Site.' },
884+
{ tag: 'FIXED', name: 'Custom keys `page_loaded` and <code>fill_action</code> running time.' },
885+
{ tag: 'FIXED', name: 'Check Success Message.' },
875886
{ tag: 'IMPROVED', name: 'If your data is not able to feed after this update, then fetch the Excel column again.' },
876887
{ tag: 'NEW', name: 'Typewriter Effect and Set Typewriter Speed while filling data in the field' },
877888
{ tag: 'NEW', name: 'Change Field Background color of fill data completed in the form field.' },
@@ -1590,6 +1601,9 @@ export default {
15901601
// After filling the data of this field, filling the data of another field.
15911602
this.colSettings.isAfterFillFields = colData.settings.isAfterFillFields
15921603
this.colSettings.afterFillFields = colData.settings.afterFillFields
1604+
// Clear field value then fill new value
1605+
this.colSettings.clearThenFillValue = colData.settings.clearThenFillValue
1606+
15931607
} else {
15941608
// Rest Variables old Data
15951609
this.colSettings.field_type = "text"
@@ -1608,6 +1622,7 @@ export default {
16081622
// After filling the data of this field, filling the data of another field.
16091623
this.colSettings.isAfterFillFields = false
16101624
this.colSettings.afterFillFields = []
1625+
this.colSettings.clearThenFillValue = false
16111626
}
16121627
16131628
// Open Column Settings Model
@@ -1653,6 +1668,8 @@ export default {
16531668
// After filling the data of this field, filling the data of another field
16541669
this.$set(colData.settings, 'isAfterFillFields', this.colSettings.isAfterFillFields)
16551670
this.$set(colData.settings, 'afterFillFields', this.colSettings.afterFillFields)
1671+
// Clear field value then fill new value
1672+
this.$set(colData.settings, 'clearThenFillValue', this.colSettings.clearThenFillValue)
16561673
16571674
this.$buefy.toast.open({
16581675
message: `Column Settings has been successfully Saved. `,

0 commit comments

Comments
 (0)