dokuwiki-plugin-bureaucracy icon indicating copy to clipboard operation
dokuwiki-plugin-bureaucracy copied to clipboard

AutoIncrement dependent on a field

Open Wikunia opened this issue 11 years ago • 0 comments

It would be great if the autoincrement field could be dependent on a special field. For exampe:

<form> action template tpl:id:template "@@field@@"
textbox "field"
select   "ID-type" "aIb|c"
hiddenautoinc "id" @@ID-type@@
submit "submit" </form>

This should mean, that there is a hiddenautoinc for each ID-type.

For example: I want to create a new document with an ID-type "a" then in "id" should be a 0. If I want to add afterwards a new document with an ID-type "b" then in "id" should be a 0, again, because of three different hiddenautoinc fields (one for each ID-type)

Wikunia avatar Oct 20 '13 17:10 Wikunia