Thanks, I realise the code is for select options. Can the code be modified to work with a text input. I am wanting to populate the quote_number field with the post_id after form submission. This will then be shown on the View Quote page after post creation as the unique quote number.