Ambiera Forum

Discussions, Help and Support.

Ambiera Forum > WebsitePainter
Error in Web Form Text field

daryljoubert
Registered User
Quote
2011-05-17 20:51:32

Hi Ambiera,

I have created a web form and used a 'Text Edit Field' to display a message to the user when he presses the 'Submit' button (which still doesn't work but I am still working on this problem....) For this edit field, I have marked it as 'ReadOnly' and set it's 'BackgroundMode' attribute to 'Invisible'. However the field is still visible and looks like an edit field i.e. the 'BackgroundMode=Invisible' attribute is ignored.

I have a screenshot of this situation but could not see how to send you an attachment.

Am I doing something wrong?

Thanks!


niko
Moderator
Quote
2011-05-18 07:04:52

For creating hidden text fields, there is currently no element in WebsitePainter. But you can do it like this:
Place a HTML code element into your web form, and deselect the 'Create DIV around code' checkbox for it. For the code, enter the following:

<input name="myHiddenField" type="hidden" value="the text you want to be stored" />


And it should work.
Alternatively: Create a text field and in the 'additional CSS styles' field of it in the HTML Code dialog, add

display:none;



daryljoubert
Registered User
Quote
2011-05-18 10:11:58

Thanks Niko,

I will try your suggestions.


Create reply:


Posted by: (you are not logged in)


Enter the missing letter in: "Internatio?al" (you are not logged in)


Text:

 

  

Possible Codes


Feature Code
Link [url] www.example.com [/url]
Bold [b]bold text[/b]
Image [img]http://www.example.com/image.jpg[/img]
Quote [quote]quoted text[/quote]
Code [code]source code[/code]

Emoticons


   






Copyright© Ambiera e.U. all rights reserved.
Privacy Policy | Terms and Conditions | Imprint | Contact