Developer forum

Forum » Development » Value to form

Reply
Hi

Is it possible to supply the value="xx" for my input field direct in the code?

<td><!--@AccessUserName_ctrl--></td>



Replies

 
Reply
Hi there,

I am not sure I understand what you're asking. Do you want to prefill it with the user name or with a fixed value for a watermark? In the former case, this should happen automatically when the user is logged in. In the latter case, you can use something like jQuery with a Watermark plugin to prefill the field.

Hope this helps,

Imar
 
Reply
Sorry I was not specific enough.

It is for a Newsletter subscription, and I want the value "Name" and "Email" to go into the input field.
 
Reply
In that case use jQuery as I suggested in my previous post....

Imar

 

You must be logged in to post in the forum