Default Value for Inputs?

User 2896724 Photo


Registered User
10 posts

Hello, how do you add a default value for input forms?
User 187934 Photo


Senior Advisor
20,271 posts

Hi Michael,
Add the value attribute to your input.
value="My Value"
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 2699991 Photo


Registered User
5,392 posts
Online Now

Eric Rohloff wrote:
Hi Michael,
Add the value attribute to your input.
value="My Value"


Eric,, is that after exporting ? I can't seem to find the attribute "value"
Mastering The Understanding With Hands-On Learning
NEW TO "COFFEECUP SITE DESIGNER" FOUNDATION 6 FRAMEWORK?
STUCK ON SOMETHING?

LEARNING & UNDERSTANDING "THE HOW TO"? THE WHY'S & THE WHEREFORE'S?
WITH WAYAN'S STEP BY STEP TUTORIALS


A simple quick way to contact me
https://mawarputih.coffeecup.com/forms/contact-wayan/
User 187934 Photo


Senior Advisor
20,271 posts

Yes, otherwise add this to the footer with RSD.
$(function () {
$("input[name='myinputname']").val("myvalue");
});
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 2896724 Photo


Registered User
10 posts

Thanks, the script worked after I put it in <script> tags. It seems strange that RSD wouldn't have that as an option without JAVA script.

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.