Hi there!
I've a little Problem with GetField. I'm calling an eForm Form with following Parameters:
<a href="[~12~]&event=[+id+]">...</a>
On Page with ID 12 there are 2 Calls:
[!GetCode!] [!eForm? &formid=`TicketOrderForm` &subject=`Kartenbestellung` &to=`...` &ccsender=`1` &tpl=`TplTicketOrderForm` &report=`TplTicketOrderReport` &vericode=`1` &thankyou=`13` &eFormOnBeforeFormParse=`eformGetCode`!]
GetCode will parse the GET-Parameter 'event' and it will be available in my eForm Chunk as:
So, now my Problem (assume &event=2):
<p>[!GetField? &docid=`[+eventid+]` &field=`pagetitle` !]</p>
will output
nothing.
<p>[!GetField? &docid=`2` &field=`pagetitle` !]</p>
will output the
pagetitle correctly.
will output
2 as expected.
<p>GetField? &docid=`[+eventid+]` &field=`pagetitle`</p>
will output GetField? &docid=`2` &field=`pagetitle` (Notice that I removed the [!!])
I don't know why [+eventid+] is not parsed correctly in the GetField call...
Any Ideas are very welcome!
Mike