Guest Posted December 6, 2003 Share Posted December 6, 2003 Has anyone worked out how to include a <fieldset> in the forms? As soon as I get to make anything that resembles an HTML tag, I get a "hidden" <input...> tag jump between the <form...> and the <fieldset> tags Example: try <form.... anytextbeforeclosingtag outputs: <form.... anytextbeforeclosingtag><input ....hidden /> try <form... followedbysomethingwith><fieldset> outputs: <form....><input ....hidden />followedbysomethingwith><fieldset> <_< . Cheers, Mak. Link to comment Share on other sites More sharing options...
galen Posted December 6, 2003 Share Posted December 6, 2003 i'm kinda jumping in the dark but cant you just use the draw form function? function tep_draw_form($name, $action, $parameters = '', $method = 'post', $params = '') { thats taken from html_output.php, its the generic layout of the form header, you will need to close the form later either using </form> or tep_image_submit also located in that file. Link to comment Share on other sites More sharing options...
Guest Posted December 6, 2003 Share Posted December 6, 2003 Unfortunately not. if you add anything with a "<" in it, then the <input... hidden> tag jumps in between them. This even happens when the form tag closes. example: ... $form .= ' >'; return $form; change this to ... $form .= ' ><fieldset>'; return $form; outputs <form.....><input...hidden..>><fieldset><input...and so on However,change this to ... $form .= ' crazytext>'; return $form; outputs <form... crazytext><input...hidden...> There appears to be some restriction to what we can add to these variables and my Bugadifino gland is working overtime :) Cheers, Mak. Link to comment Share on other sites More sharing options...
burt Posted December 8, 2003 Share Posted December 8, 2003 Had the same problem a few weeks back when I turned Osc fully xhtml compliant. Still working on it, but 90% done. Look at url_rewriter.tags in php.ini. hth Link to comment Share on other sites More sharing options...
Guest Posted December 9, 2003 Share Posted December 9, 2003 I don't have access to the PHP.ini file. Including the function: ini_set ( url_rewriter.tags, string newvalue) on the page seems to do nothing either. Good luck with the XHTML, I managed to get rid of all the table fudging and now have a pure CSS version. Without being able to slip in fieldsets, I'm stuck with a HTML4.0 version on all form pages. :( Thanks for your input, Gary, if you have any more bright ideas... I'm all ears. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.