[pmwiki-devel] Specifying the result of a form opens in a new tab

Simon nzskiwi at gmail.com
Thu Jul 9 17:34:02 CDT 2015


Great, thanks, do you want PITS entries for issues raise on the email lists?

On 10 July 2015 at 03:25, Petko Yotov <5ko at 5ko.fr> wrote:

> I have added it for the next version, you can get forms.php from
> subversion now.
>
> The current ways to add form attributes are:
> - define the whole $InputAttr array in config.php, OR
> - define a $PostConfig function to append attributes to that array:
>
>   $PostConfig['FormTarget'] = 100;
>   function FormTarget($pn) {
>     $GLOBALS['InputAttrs'][] = "target";
>   }
>
> You will not need this with the next version for the "target" attribute
> but we may try to find an easier way for admins to add allowed attributes.
>
> Petko
>
> On 2015-07-09 06:32, Simon wrote:
>
>> I'm trying to get the result of a form submission open in a new page,
>> e.g.
>> (:input form method="post" action="
>> http://example.com/phonelist/index.cfm?call=search" target="_blank":)
>>
>
>
>
> _______________________________________________
> pmwiki-devel mailing list
> pmwiki-devel at pmichaud.com
> http://www.pmichaud.com/mailman/listinfo/pmwiki-devel
>



-- 
____
http://kiwiwiki.nz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.pmichaud.com/pipermail/pmwiki-devel/attachments/20150710/342dbeca/attachment.html>


More information about the pmwiki-devel mailing list