Hi, apologies in advance for the long post.
I've been trying to find a simple way to make a GForms fields ready only and visible so simply hiding it through CSS is not an option. After a LOT of searching the only real solution posted in these forums seems to be to use Javascript, and even when looking at the tutorials I can't make head's or tails of it.
Basically I want a user to enter their postal address on the first page of a multi-part form and then on the second the form will display their assigned user ID comprising of the postcode and the next available three digit number. This is simple enough, but making that field read only is proving a nightmare. I assumed it would be a simple built-in feature, or if not I could dynamically populate a label or something of the like (may I suggest adding some functionality along these lines in future, as having labels available for displaying data would be massively helpful. I know this isn't the main focus of GForms but still, it seems simple and can only strengthen an already great product).
Eventually I stumbled upon this plugin / tutorial -
Which seemed to offer the answer, however no matter what I try when I change the field format from a textarea to a single line text box it starts doing weird things such as putting the field data outside of the box or just not appearing at all. I've tried asking the plugin / tutorial maker but it's been over a month now and nothing.
So after reading up on how to use a Section Break to create a Terms and Conditions field here -
http://www.gravityhelp.com/forums/topic/how-do-i-make-a-textarea-field-un-editable
I wondered if the same idea could work to solve my problem. My form uses the CSS class to know which field to dynamically populate as outlined on these forums (lost the link, sorry) so it makes sense that it should be possible but I can't make it work.
Does anyone have any solutions to either of these problems, ideally the first I suppose as it seems much easier.
Many thanks.