Search found 5 matches
- Mon May 27, 2013 11:13 am
- Forum: The Lounge
- Topic: UDT creation - 404 error on specific code being entered
- Replies: 2
- Views: 1207
UDT creation - 404 error on specific code being entered
I'm trying to create a UDT, but am having trouble with one specific line of PHP code. The line is: $res = fgets ($fp, 1024); If that line is in the code, and I try to submit the UDT, I get a 404 response. If I use the back button to go back to the UDT edittor, and delete the line, the UDT saves succ...
- Tue Apr 16, 2013 11:03 am
- Forum: Modules/Add-Ons
- Topic: Formbuilder and UDT (SOLVED)
- Replies: 7
- Views: 2100
Re: Formbuilder and UDT
Formbrowser was showing that data was being submitted in the field concerned (not the calculated one, the original field). It was a good point that this should have been checked before, though. I then tried adding a further calculated field, and that one worked. I can't see any difference at all bet...
- Mon Apr 15, 2013 8:21 am
- Forum: Modules/Add-Ons
- Topic: Formbuilder and UDT (SOLVED)
- Replies: 7
- Views: 2100
Re: Formbuilder and UDT
Must admit I'd not realised that 'submit to UDT' was necessary as well as having the UDT on the submission page/response. Even having done that, though, I can't get anywhere; I still get just the text and no value returned by the UDT. I'm now looking at the calculated field option. I have a field in...
- Sat Apr 13, 2013 9:35 pm
- Forum: Modules/Add-Ons
- Topic: Formbuilder and UDT (SOLVED)
- Replies: 7
- Views: 2100
Re: Formbuilder and UDT
Thanks for the suggestion. I've changed the UDT to say: echo $params['Name']; ..but the result is still the same. The UDT is called ShowFormValues and is called in the form submission template: <h2>Thanks! Your submissions have been received.</h2> {ShowFormValues} and the form is set to display the ...
- Sat Apr 13, 2013 7:54 pm
- Forum: Modules/Add-Ons
- Topic: Formbuilder and UDT (SOLVED)
- Replies: 7
- Views: 2100
Formbuilder and UDT (SOLVED)
Hi I'm using CMSMS 1.11.4 and Formbuilder 0.7.3; PHP version is 5.3.8 adn this is running on Linux/Apache. I have a formbuilder form on a page, and when it is submitted I'd like to use a UDT to output something which depends on the value of a form field: simplifying a bit, I want to take an input nu...