Eduardo G. Posted January 31, 2011 Share Posted January 31, 2011 Hi! I'm developing a registrar module this way (sample code): function myregistrar_getConfigArray() { $configarray = array( "Username" => array( "Type" => "text", "Size" => "20", "Description" => "Enter your myregistrar username here", ), "Password" => array( "Type" => "password", "Size" => "20", "Description" => "Enter your myregistrar password here", ), "DebugMode" => array( "Type" => "yesno", "Description" => "Select to enable debug mode", ), "DigBinary" => array( "Type" => "text", "Size" => "20", "Description" => "Path to dig binary for DNS queries (/usr/bin/dig)" ), ); return $configarray; } So I', using 4 config fields (username, password, debug and file path). How can I set a default content for any of the text fields? 0 Quote Link to comment Share on other sites More sharing options...
Tariqul Posted October 17, 2012 Share Posted October 17, 2012 you can use "Default" => "Example", 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.