The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 795 - File: showthread.php PHP 7.4.33 (FreeBSD)
File Line Function
/showthread.php 795 errorHandler->error





Post Reply 
Input a default value
03-17-2015, 08:08 PM
Post: #1
Input a default value
hi all,
for the INPUT command, is there an option to give a default value?
For example:
INPUT(val1, "A value", "give val", "give the value if not 5");
the user should give a value, but if he/she doesn't I would like the value should be 5 by default...

TIA

Salvo

∫aL√0mic (IT9CLU) :: HP Prime 50g 41CX 71b 42s 39s 35s 12C 15C - DM42, DM41X - WP34s Prime Soft. Lib
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Input a default value - salvomic - 03-17-2015 08:08 PM
RE: Input a default value - Han - 03-17-2015, 08:28 PM
RE: Input a default value - salvomic - 03-17-2015, 08:42 PM
RE: Input a default value - salvomic - 03-18-2015, 08:37 AM
RE: Input a default value - Tim Wessman - 03-18-2015, 02:51 PM
RE: Input a default value - salvomic - 03-18-2015, 02:54 PM
RE: Input a default value - Tyann - 03-18-2015, 05:28 PM
RE: Input a default value - salvomic - 03-19-2015, 06:49 PM
RE: Input a default value - salvomic - 03-19-2015, 08:38 PM
RE: Input a default value - salvomic - 03-19-2015, 08:45 PM



User(s) browsing this thread: 1 Guest(s)