This project has moved and is read-only. For the latest updates, please go here.

modify form element with htmlagilitypack

Topics: Developer Forum, User Forum
Aug 6, 2011 at 12:19 AM

am processing html forms with htmlagilitypack, but encounter some problems. take for example

<form action="" method="post">

<input name="email" type="text" />

<input name="fruit" type="hidden" value="5" />

<img src="/image.php">


first i need to replace the action value with the forms web url,
then second, prepend the image source with the base path url of the form

how can i achieve this?