added ttl validation and improved testing
add TTL to the form and placeholders