I'm trying to figure out if doing this is possible. I'm not very good at php so I'm trying to avoid having to create a module or something else to do this.
What I am trying to do is this:
In the default value field for a section in my webform, $_SERVER["REQUEST_URI"] to return the URL that the form is on, however, the entire URL is retrieved. (
/cms/?q=content/82245940-initial-services) I want to cut out the non-identifying part of the URL so that I'm left with
82245940-initial-services. Is there a way to code this into the default value field(1 line), or do I need to create special code to do this?
Something like this: