Couple of issues using form builder
Jamroom Developers
Hi Paul, yes sorry, I've used form designer to create a couple of fields to go into my customised guestbook module. One is a text field, and the other is a radio button field with three options.
I set both these fields to 'required'.
I've added the code for those fields in the item_index.tpl form. Now I need to figure out the code which displays the users entry in those fields.
Looking at the item_list.tpl, the code which outputs the textarea entry is
{$item.guestbook_text|jrCore_format_string:$item.profile_quota_id}
So I modified that code to output my new text fields, which works fine, but I don't know what to add or change to that code to call whichever option the user has selected with the radio button.
Also, on testing the form, it's letting me submit without entering anything in those fields, so the 'required' is not working.