← Back to team overview

aikiframework-devel team mailing list archive

Re: [Question #189948]: What is the aiki form syntax for hidden fields?

 

Question #189948 on aikiframework changed:
https://answers.launchpad.net/aikiframework/+question/189948

    Status: Answered => Open

Christopher Adams is still having a problem:
That doesn't work for me.

If I use the aiki form and set it to:

[hidden]    media_id|editor:media id

Then my output is:

<div class="media_id field"><input type="hidden" name="media_id"></div>

If I change it to what you suggest:

[autofield] media_id:MediaID:value:((1))

OR

[autofield] media_id|editor:MediaID:value:((1))

then the div is totally empty:

<div class="media_id field"></div>

Only if I try something like:

[autofield] media_id|editor:media id:insertedby_userid

Do I get some output, but in this case I don't want the userid there, I
want some other ((value)) or (!(1)!) or GET[value] but none of those
work.

-- 
You received this question notification because you are a member of Aiki
Framework Developers, which is an answer contact for aikiframework.


Follow ups