bug-ncurses
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: form question


From: Thomas Dickey
Subject: Re: form question
Date: Sun, 15 Sep 2013 20:53:39 -0400
User-agent: Mutt/1.5.20 (2009-06-14)

On Wed, Sep 11, 2013 at 03:49:08PM +0200, LERAY FRANCK wrote:
> Hi all,
> 
> Is there a way to change field options after the form being posted ?
> 
> I've tried to change the O_PUBLIC or O_ACTIVE options but the field_opts_off
> function return a E_CURRENT error code.

That code comes when the current field is the one which is being updated.
Depending on how your form is setup, you might workaround the check by
setting the current field to a different field (noting that the field
which is current would be erased or redisplayed, etc).

(reading the source code helps :-).

-- 
Thomas E. Dickey <address@hidden>
http://invisible-island.net
ftp://invisible-island.net

Attachment: signature.asc
Description: Digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]