Hi all,

> Am 28.02.2025 um 12:40 schrieb Klaus major-k via use-livecode 
> <use-livecode@lists.runrev.com>:
> 
> Hi friends,
> 
> according to the dictionary - answer "bla bla" - does not work
> in a .LC serverscript. OK, the dialog stacks are not present. :-)
> 
> How can I show a system dialog to the user in that case?
> I'm afraid I'm not too familiar with html/Javascript and  I need 
> to inform the user to fill all neccessary field in a webform if 
> he/she didn't.

well, I found "alter("whatever...") but this is obviously not supported
by LC server. Or I did not add it to the LC script correctly?

I want to do something like this:
----------------------------------------
... html header...
<?lc
set the errorMode to "inline"
put url("file:danke.html") into tDanke

-- Need to check here:
if $_POST["name"] is empty then
        alert("Bitte einen Emailadresse eingeben!\nPlease enter an 
emailaddress!")
       -- give an error: command not found
        exit to top
end if
...
---------------------------------------

Best

Klaus

--
Klaus Major
https://www.major-k.de
https://www.major-k.de/bass
kl...@major-k.de


_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to