Memento JavaScript Library: Difference between revisions

Line 41: Line 41:
buildDefaultEntry().set("Field name", "Field value");
buildDefaultEntry().set("Field name", "Field value");
</source>
</source>
: If you want to set default values only when duplicating an entry, you can use the following example:
: If you want to set default values only when duplicating an entry, you can use the following example:
:: <source lang="JavaScript">
:: <source lang="JavaScript">