View Single Post
Old 01-11-2023, 02:43 AM   #998
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 11,244
Karma: 77935877
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Quote:
Originally Posted by Terisa de morgan View Post
Hello, I'm sure it has been discussed but I don't find it : I want to edit a Single Field and I would like the user to input a value but not showing the field initially as empty but with a default value. Is it possible?
Here's a quick and dirty method. Create a SFE with this template (so it doesn't overwrite existing values):

Code:
program: if $#field=='' then 'somevalue' else $#field fi
Then put a second SFE with ask at runtime after it.

Last edited by ownedbycats; 01-11-2023 at 02:46 AM.
ownedbycats is offline   Reply With Quote